Fix various build issuesin uncommon configurations
This commit is contained in:
@@ -23,6 +23,10 @@ private:
|
||||
StringAnsiView _fullname;
|
||||
uint32 _types = 0;
|
||||
mutable uint32 _size = 0;
|
||||
#else
|
||||
StringAnsiView _name;
|
||||
StringAnsiView _namespace;
|
||||
StringAnsiView _fullname;
|
||||
#endif
|
||||
MAssembly* _assembly;
|
||||
|
||||
|
||||
@@ -19,6 +19,8 @@ protected:
|
||||
#elif USE_NETCORE
|
||||
void* _handle;
|
||||
StringAnsiView _name;
|
||||
#else
|
||||
StringAnsiView _name;
|
||||
#endif
|
||||
|
||||
mutable MMethod* _addMethod;
|
||||
|
||||
@@ -24,6 +24,8 @@ protected:
|
||||
void* _type;
|
||||
int32 _fieldOffset;
|
||||
StringAnsiView _name;
|
||||
#else
|
||||
StringAnsiView _name;
|
||||
#endif
|
||||
|
||||
MClass* _parentClass;
|
||||
|
||||
@@ -30,6 +30,8 @@ protected:
|
||||
mutable void* _returnType;
|
||||
mutable Array<void*, InlinedAllocation<8>> _parameterTypes;
|
||||
void CacheSignature() const;
|
||||
#else
|
||||
StringAnsiView _name;
|
||||
#endif
|
||||
MClass* _parentClass;
|
||||
MVisibility _visibility;
|
||||
|
||||
@@ -22,6 +22,8 @@ protected:
|
||||
#elif USE_NETCORE
|
||||
void* _handle;
|
||||
StringAnsiView _name;
|
||||
#else
|
||||
StringAnsiView _name;
|
||||
#endif
|
||||
|
||||
mutable MMethod* _getMethod;
|
||||
|
||||
@@ -93,6 +93,8 @@ ScriptingObject::ScriptingObject(const SpawnParams& params)
|
||||
: _gcHandle((MGCHandle)params.Managed)
|
||||
#elif !COMPILE_WITHOUT_CSHARP
|
||||
: _gcHandle(params.Managed ? MCore::GCHandle::New(params.Managed) : 0)
|
||||
#else
|
||||
: _gcHandle(0)
|
||||
#endif
|
||||
, _type(params.Type)
|
||||
, _id(params.ID)
|
||||
|
||||
Reference in New Issue
Block a user