Update of /cvsroot/opentnl/tnl/tnl
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20406/tnl
Modified Files:
tnlNetObject.h tnlRPC.h
Log Message:
Added TNL:: namespace reference into RPC macros
Index: tnlRPC.h
===================================================================
RCS file: /cvsroot/opentnl/tnl/tnl/tnlRPC.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** tnlRPC.h 29 May 2004 19:16:09 -0000 1.7
--- tnlRPC.h 19 Aug 2004 20:51:57 -0000 1.8
***************
*** 194,198 ****
void (FN_CDECL className::*mFuncPtr) args; \
TNL::U32 pad; \
! RPC_##className##_##name() : RPCEvent(&RPC##className##name, guaranteeType, eventDirection) \
{ mFuncPtr = &className::name##_remote; } \
TNL_DECLARE_CLASS( RPC_##className##_##name ); \
--- 194,198 ----
void (FN_CDECL className::*mFuncPtr) args; \
TNL::U32 pad; \
! RPC_##className##_##name() : TNL::RPCEvent(&RPC##className##name, guaranteeType, eventDirection) \
{ mFuncPtr = &className::name##_remote; } \
TNL_DECLARE_CLASS( RPC_##className##_##name ); \
Index: tnlNetObject.h
===================================================================
RCS file: /cvsroot/opentnl/tnl/tnl/tnlNetObject.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** tnlNetObject.h 19 Aug 2004 20:29:18 -0000 1.6
--- tnlNetObject.h 19 Aug 2004 20:51:57 -0000 1.7
***************
*** 415,419 ****
TNL_DECLARE_CLASS( RPCEV_##className##_##name ); \
bool checkClassType(TNL::Object *theObject) { return dynamic_cast<className *>(theObject) != NULL; } \
! void getFuncPtr(MethodPointer &p) { p.v1=*((U32 *) &mFuncPtr); p.v2 = *(((U32 *) &mFuncPtr) + 1); } }; \
TNL_IMPLEMENT_NETEVENT( RPCEV_##className##_##name, groupMask, rpcVersion ); \
TNL::MethodArgList RPC##className##name (#className, #args); \
--- 415,419 ----
TNL_DECLARE_CLASS( RPCEV_##className##_##name ); \
bool checkClassType(TNL::Object *theObject) { return dynamic_cast<className *>(theObject) != NULL; } \
! void getFuncPtr(TNL::MethodPointer &p) { p.v1=*((TNL::U32 *) &mFuncPtr); p.v2 = *(((TNL::U32 *) &mFuncPtr) + 1); } }; \
TNL_IMPLEMENT_NETEVENT( RPCEV_##className##_##name, groupMask, rpcVersion ); \
TNL::MethodArgList RPC##className##name (#className, #args); \
|