Changeset 3169 for code/branches/pch/src/network
- Timestamp:
- Jun 14, 2009, 6:35:31 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pch/src/network/NetworkFunction.h
r3154 r3169 36 36 #include <map> 37 37 #include <cassert> 38 #include <boost/preprocessor/cat.hpp> 38 39 #include "util/MultiType.h" 39 40 #include "core/Functor.h" … … 215 216 216 217 #define registerStaticNetworkFunction( functionPointer ) \ 217 static void* MACRO_CONCATENATE( NETWORK_FUNCTION_, __LINE__ ) = registerStaticNetworkFunctionFct( functionPointer, #functionPointer );218 static void* BOOST_PP_CAT( NETWORK_FUNCTION_, __LINE__ ) = registerStaticNetworkFunctionFct( functionPointer, #functionPointer ); 218 219 #define registerMemberNetworkFunction( class, function ) \ 219 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); 220 221 // call it with functionPointer, clientID, args 221 222 #define callStaticNetworkFunction( functionPointer, ...) \
Note: See TracChangeset
for help on using the changeset viewer.