Update of /cvsroot/opentnl/tnl/tnl
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18189/tnl
Modified Files:
tnlMethodDispatch.h tnlNetObject.h tnlRPC.h
Log Message:
Updated RPC code for linux compile
Index: tnlRPC.h
===================================================================
RCS file: /cvsroot/opentnl/tnl/tnl/tnlRPC.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** tnlRPC.h 28 Sep 2004 18:45:25 -0000 1.10
--- tnlRPC.h 28 Sep 2004 18:59:23 -0000 1.11
***************
*** 193,197 ****
public: \
void (FN_CDECL className::*mFuncPtr) args; \
- TNL::U32 pad; \
RPC_##className##_##name() : TNL::RPCEvent(&RPC##className##name, guaranteeType, eventDirection) \
{ mFuncPtr = &className::name##_remote; } \
--- 193,196 ----
Index: tnlMethodDispatch.h
===================================================================
RCS file: /cvsroot/opentnl/tnl/tnl/tnlMethodDispatch.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** tnlMethodDispatch.h 28 Sep 2004 18:45:25 -0000 1.7
--- tnlMethodDispatch.h 28 Sep 2004 18:59:23 -0000 1.8
***************
*** 161,165 ****
extern void *TNL_gBasePtr;
namespace TNL {
! #define SAVE_PARAMS TNL_gBasePtr = (void *) ((U8 *) __builtin_frame_address(0) + 8);
#elif defined(TNL_SUPPORTS_GCC_INLINE_PPC_ASM )
--- 161,165 ----
extern void *TNL_gBasePtr;
namespace TNL {
! #define SAVE_PARAMS TNL_gBasePtr = (void *) ((TNL::U8 *) __builtin_frame_address(0) + 8);
#elif defined(TNL_SUPPORTS_GCC_INLINE_PPC_ASM )
Index: tnlNetObject.h
===================================================================
RCS file: /cvsroot/opentnl/tnl/tnl/tnlNetObject.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** tnlNetObject.h 28 Sep 2004 18:45:25 -0000 1.9
--- tnlNetObject.h 28 Sep 2004 18:59:23 -0000 1.10
***************
*** 410,414 ****
public: typedef void (FN_CDECL className::*RPCFuncPtr) args; \
RPCFuncPtr mFuncPtr; \
- TNL::U32 pad; \
RPCEV_##className##_##name(TNL::NetObject *theObject = NULL) : TNL::NetObjectRPCEvent(theObject, &RPC##className##name, guaranteeType, eventDirection) \
{ mFuncPtr = &className::name##_remote; } \
--- 410,413 ----
|