Changeset 3196 for code/trunk/src/network/NetworkFunction.h
- Timestamp:
- Jun 20, 2009, 9:20:47 AM (16 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/pch (added) merged: 3114-3118,3124-3125,3127-3131,3133,3138-3194
- Property svn:mergeinfo changed
-
code/trunk/src/network/NetworkFunction.h
r3084 r3196 36 36 #include <map> 37 37 #include <cassert> 38 #include <boost/preprocessor/cat.hpp> 38 39 #include "util/MultiType.h" 40 #include "core/Functor.h" 39 41 #include "synchronisable/Synchronisable.h" 40 42 #include "OrxonoxConfig.h" … … 214 216 215 217 #define registerStaticNetworkFunction( functionPointer ) \ 216 static void* MACRO_CONCATENATE( NETWORK_FUNCTION_, __LINE__ ) = registerStaticNetworkFunctionFct( functionPointer, #functionPointer );218 static void* BOOST_PP_CAT( NETWORK_FUNCTION_, __LINE__ ) = registerStaticNetworkFunctionFct( functionPointer, #functionPointer ); 217 219 #define registerMemberNetworkFunction( class, function ) \ 218 static void* MACRO_CONCATENATE( NETWORK_FUNCTION_##class, __LINE__ ) = registerMemberNetworkFunctionFct<class>( &class::function, #class "_" #function);220 static void* BOOST_PP_CAT( NETWORK_FUNCTION_##class, __LINE__ ) = registerMemberNetworkFunctionFct<class>( &class::function, #class "_" #function); 219 221 // call it with functionPointer, clientID, args 220 222 #define callStaticNetworkFunction( functionPointer, ...) \
Note: See TracChangeset
for help on using the changeset viewer.