pooling and singleton finally work

This commit is contained in:
Harald Radi 2002-06-10 21:16:25 +00:00
parent f1f6818c20
commit fd8082ef67
4 changed files with 160 additions and 51 deletions

View file

@ -5,7 +5,8 @@
#define HANDLER handler_entries[__handler_counter]
#define HANDLER_COUNT (sizeof(handler_entries) / sizeof(rpc_handler_entry))
#define RPC_HT(intern) (*(intern->handlers))
#define RPC_HT(intern) (*((intern)->handlers))
#define RPC_CLASS(intern) ((intern)->hash)
#define GET_INTERNAL(intern) rpc_internal *intern; \
if (GET_INTERNAL_EX(intern, object) != SUCCESS) { \