mirror of
https://github.com/php/php-src.git
synced 2025-08-18 23:18:56 +02:00
pooling and singleton finally work
This commit is contained in:
parent
f1f6818c20
commit
fd8082ef67
4 changed files with 160 additions and 51 deletions
|
@ -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) { \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue