- Timestamp:
- Jan 22, 2010, 2:51:06 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/consolecommands2/src/libraries/core/ConsoleCommand.h
r6452 r6454 33 33 34 34 #include <boost/preprocessor/cat.hpp> 35 #include <boost/preprocessor/facilities/expand.hpp> 35 36 36 37 #include "util/VA_NARGS.h" … … 158 159 159 160 #define _SetConsoleCommand(...) \ 160 BOOST_PP_ CAT(_SetConsoleCommand, ORXONOX_VA_NARGS(__VA_ARGS__))(__VA_ARGS__)161 BOOST_PP_EXPAND(BOOST_PP_CAT(_SetConsoleCommand, ORXONOX_VA_NARGS(__VA_ARGS__))(__VA_ARGS__)) 161 162 #define _SetConsoleCommand2(name, functionpointer) \ 162 163 _SetConsoleCommandGeneric("", name, orxonox::createFunctor(functionpointer))
Note: See TracChangeset
for help on using the changeset viewer.