diff options
author | Harald Radi <phanto@php.net> | 2002-03-15 13:10:35 +0000 |
---|---|---|
committer | Harald Radi <phanto@php.net> | 2002-03-15 13:10:35 +0000 |
commit | 720c40dd4e7ce4b2aa9c84a327b29c0ab23c7be9 (patch) | |
tree | 241bb21117a4ae99949a6fbcfe444cde98ddd705 /ext/rpc/rpc.h | |
parent | 2e597b8dc8a6fff997a0ccc27f206afad3f18b19 (diff) | |
download | php-git-720c40dd4e7ce4b2aa9c84a327b29c0ab23c7be9.tar.gz |
fixed HashTable allocation
Diffstat (limited to 'ext/rpc/rpc.h')
-rw-r--r-- | ext/rpc/rpc.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ext/rpc/rpc.h b/ext/rpc/rpc.h new file mode 100644 index 0000000000..2d1b0f7697 --- /dev/null +++ b/ext/rpc/rpc.h @@ -0,0 +1,11 @@ +#ifndef RPC_H +#define RPC_H + +#define CONSTRUCTOR __construct +#define CONSTRUCTOR_FN ZEND_FN(__construct) + +#define GET_INTERNAL(intern) GET_INTERNAL_EX(intern, object) +#define GET_INTERNAL_EX(intern, object) rpc_internal **intern; \ + zend_hash_index_find(RPC_G(instance), object->value.obj.handle, (void **) &intern); + +#endif
\ No newline at end of file |