Changeset 8418 for code/trunk/src/libraries/core/command
- Timestamp:
- May 8, 2011, 6:53:39 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/core/command/ConsoleCommand.h
r8079 r8418 269 269 /// Internal macro 270 270 #define SetConsoleCommandGeneric(group, name, functor) \ 271 static orxonox::ConsoleCommand& BOOST_PP_CAT(__consolecommand_, __ LINE__) = (*orxonox::createConsoleCommand(group, name, orxonox::createExecutor(functor)))271 static orxonox::ConsoleCommand& BOOST_PP_CAT(__consolecommand_, __UNIQUE_NUMBER__) = (*orxonox::createConsoleCommand(group, name, orxonox::createExecutor(functor))) 272 272 273 273 … … 304 304 /// Internal macro 305 305 #define DeclareConsoleCommandGeneric(group, name, functor) \ 306 static orxonox::ConsoleCommand& BOOST_PP_CAT(__consolecommand_, __ LINE__) = (*orxonox::createConsoleCommand(group, name, orxonox::createExecutor(functor), false))306 static orxonox::ConsoleCommand& BOOST_PP_CAT(__consolecommand_, __UNIQUE_NUMBER__) = (*orxonox::createConsoleCommand(group, name, orxonox::createExecutor(functor), false)) 307 307 308 308
Note: See TracChangeset
for help on using the changeset viewer.