mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 15:14:35 +00:00
Source changes needed for Linux build.
This commit is contained in:
parent
109a766748
commit
d2700f881c
16 changed files with 73 additions and 27 deletions
|
|
@ -252,7 +252,7 @@ const EngineTypeInfo* _MAPTYPE() { return TYPE< T >(); }
|
|||
extern S32 type; \
|
||||
extern const char* castConsoleTypeToString( _ConsoleConstType< nativeType >::ConstType &arg ); \
|
||||
extern bool castConsoleTypeFromString( nativeType &arg, const char *str ); \
|
||||
template<> extern S32 TYPEID< nativeType >();
|
||||
template<> S32 TYPEID< nativeType >();
|
||||
|
||||
#define DefineUnmappedConsoleType( type, nativeType ) \
|
||||
DefineConsoleType( type, nativeType ) \
|
||||
|
|
|
|||
|
|
@ -416,7 +416,7 @@ namespace _Private {
|
|||
|
||||
|
||||
#define _DECLARE_TYPE( type ) \
|
||||
template<> extern const EngineTypeInfo* TYPE< type >(); \
|
||||
template<> const EngineTypeInfo* TYPE< type >(); \
|
||||
template<> struct _SCOPE< type > { \
|
||||
EngineExportScope& operator()() const { \
|
||||
return *reinterpret_cast< EngineExportScope* >( \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue