mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-21 04:15:36 +00:00
Fix FIELDOFFSET for OSX.
This commit is contained in:
parent
6d1ef41c69
commit
5d49771136
1 changed files with 1 additions and 1 deletions
|
|
@ -571,7 +571,7 @@ namespace _Private {
|
|||
|
||||
///
|
||||
#define FIELD_AS( type, fieldName, exportName, numElements, doc ) \
|
||||
{ #exportName, doc, numElements, TYPE( *( ( type* ) &( ( ThisType* ) 16 )->fieldName ) ), FIELDOFFSET( fieldName ) }, // Artificial offset to avoid compiler warnings.
|
||||
{ #exportName, doc, numElements, TYPE( *( ( type* ) &( ( ThisType* ) 16 )->fieldName ) ), (U32)FIELDOFFSET( fieldName ) }, // Artificial offset to avoid compiler warnings.
|
||||
|
||||
///
|
||||
#define FIELDOFFSET( fieldName ) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue