search for: rpccaller

Displaying 1 result from an estimated 1 matches for "rpccaller".

2009 Aug 30
4
[LLVMdev] Perfect forwarding?
...ction by pointer when deserialized (on the stack, eh, eh?, has to be default constructable to support that, or the registerRPCCall below will not even compile, yes this is completely typesafe in every way) void _testFunc(int i, someClass *ptr) { // do something } // example syntax networkWorld::RPCCaller testFunc = networkWorld->registerRPCCall("testFunc",&testFunc,enumCallOnClientOnly); networkWorld::RPCCaller someMethod = networkWorld->registerRPCCall("someMethod",&someClass::someMethod,enumCallOnServerOnly); // then use it as a normal function, it uses near per...