mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Expand EngineAPI type definitions
This commit is contained in:
parent
f5f0eb2bb4
commit
a241d27b58
13 changed files with 284 additions and 36 deletions
|
|
@ -104,20 +104,6 @@ namespace engineAPI {
|
|||
extern bool gIsInitialized;
|
||||
}
|
||||
|
||||
|
||||
//FIXME: this allows const char* to be used as a struct field type
|
||||
|
||||
// Temp support for allowing const char* to remain in the API functions as long as we
|
||||
// still have the console system around. When that is purged, these definitions should
|
||||
// be deleted and all const char* uses be replaced with String.
|
||||
template<> struct EngineTypeTraits< const char* > : public EngineTypeTraits< String > {};
|
||||
template<> inline const EngineTypeInfo* TYPE< const char* >() { return TYPE< String >(); }
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/// @name Marshalling
|
||||
///
|
||||
/// Functions for converting to/from string-based data representations.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue