Remove nested CLASSDOC Macro

This commit is contained in:
Marc Chapman 2018-02-05 23:02:02 +00:00
parent cfbdf63cd7
commit 9d01f7a973
2 changed files with 1 additions and 5 deletions

View file

@ -1263,10 +1263,6 @@ inline bool& ConsoleObject::getDynamicGroupExpand()
EnginePropertyTable _propTable( sizeof( _props ) / sizeof( _props[ 0 ] ) - 1, _props ); \ EnginePropertyTable _propTable( sizeof( _props ) / sizeof( _props[ 0 ] ) - 1, _props ); \
} } } }
/// Add an auto-doc for a class.
#define ConsoleDocClass( className, docString ) \
CLASSDOC( className, docString )
/// @} /// @}
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------

View file

@ -576,7 +576,7 @@ namespace _Private {
uintptr_t( ( ( const char* ) &( ( ( ThisType* ) 16 )->fieldName ) ) - 16 ) // Artificial offset to avoid compiler warnings. uintptr_t( ( ( const char* ) &( ( ( ThisType* ) 16 )->fieldName ) ) - 16 ) // Artificial offset to avoid compiler warnings.
/// ///
#define CLASSDOC( className, doc ) \ #define ConsoleDocClass( className, doc ) \
template<> const char* EngineClassTypeInfo< className, className::_ClassBase >::smDocString = doc; template<> const char* EngineClassTypeInfo< className, className::_ClassBase >::smDocString = doc;