mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Fixed splat issue with opaque types
This commit is contained in:
parent
4e3442d437
commit
a3c4c479fc
2 changed files with 11 additions and 1 deletions
|
@ -554,6 +554,7 @@ public:
|
|||
virtual bool IsFunctionFromTypeRef() { return false; }
|
||||
virtual BfDelegateInfo* GetDelegateInfo() { return NULL; }
|
||||
virtual bool IsValueType() { return false; }
|
||||
virtual bool IsOpaque() { return false; }
|
||||
virtual bool IsValueTypeOrValueTypePtr() { return false; }
|
||||
virtual bool IsWrappableType() { return false; }
|
||||
virtual bool IsPrimitiveType() { return false; }
|
||||
|
@ -1960,6 +1961,7 @@ public:
|
|||
virtual bool IsTypeInstance() override { return true; }
|
||||
virtual bool IsInterface() override { return mTypeDef->mTypeCode == BfTypeCode_Interface; }
|
||||
virtual bool IsValueType() override { return (mTypeDef->mTypeCode == BfTypeCode_Struct) || (mTypeDef->mTypeCode == BfTypeCode_Enum); }
|
||||
virtual bool IsOpaque() override { return mTypeDef->mIsOpaque; }
|
||||
virtual bool IsStruct() override { return ((mTypeDef->mTypeCode == BfTypeCode_Struct) || (mTypeDef->mTypeCode == BfTypeCode_Enum)) && (!mIsTypedPrimitive); }
|
||||
virtual bool IsUnion() override { return mIsUnion; }
|
||||
virtual bool IsDelegate() override { return mTypeDef->mIsDelegate; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue