Browse Source

Remove nested CLASSDOC Macro

Marc Chapman 7 years ago
parent
commit
9d01f7a973
2 changed files with 1 additions and 5 deletions
  1. 0 4
      Engine/source/console/consoleObject.h
  2. 1 1
      Engine/source/console/engineTypes.h

+ 0 - 4
Engine/source/console/consoleObject.h

@@ -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 )
-
 /// @}
 /// @}
 
 
 //------------------------------------------------------------------------------
 //------------------------------------------------------------------------------

+ 1 - 1
Engine/source/console/engineTypes.h

@@ -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;