Changeset 8418 for code/trunk/src/libraries/network
- Timestamp:
- May 8, 2011, 6:53:39 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/network/NetworkFunction.h
r7495 r8418 255 255 256 256 #define registerStaticNetworkFunction( functionPointer ) \ 257 static void* BOOST_PP_CAT( NETWORK_FUNCTION_, __ LINE__ ) = registerStaticNetworkFunctionFct( functionPointer, #functionPointer );257 static void* BOOST_PP_CAT( NETWORK_FUNCTION_, __UNIQUE_NUMBER__ ) = registerStaticNetworkFunctionFct( functionPointer, #functionPointer ); 258 258 #define registerMemberNetworkFunction( class, function ) \ 259 static void* BOOST_PP_CAT( NETWORK_FUNCTION_##class, __ LINE__ ) = registerMemberNetworkFunctionFct<class>( &class::function, #class "_" #function);259 static void* BOOST_PP_CAT( NETWORK_FUNCTION_##class, __UNIQUE_NUMBER__ ) = registerMemberNetworkFunctionFct<class>( &class::function, #class "_" #function); 260 260 // call it with functionPointer, clientID, args 261 261 #define callStaticNetworkFunction( functionPointer, ...) \
Note: See TracChangeset
for help on using the changeset viewer.