summaryrefslogtreecommitdiff
path: root/Zend/zend_ts_hash.h
diff options
context:
space:
mode:
authorHarald Radi <phanto@php.net>2002-06-10 21:14:48 +0000
committerHarald Radi <phanto@php.net>2002-06-10 21:14:48 +0000
commitba364121f1aa5c60ce2cc4107abe4eb2759722ef (patch)
tree06ab344d6acb4b28099eae9112a30e73d1e6ddae /Zend/zend_ts_hash.h
parent4b40b9513bb67b9d34c7c65d4cd2a466743d66cb (diff)
downloadphp-git-ba364121f1aa5c60ce2cc4107abe4eb2759722ef.tar.gz
added TS_HASH macro
Diffstat (limited to 'Zend/zend_ts_hash.h')
-rw-r--r--Zend/zend_ts_hash.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_ts_hash.h b/Zend/zend_ts_hash.h
index a9d3a23d29..e4c078084a 100644
--- a/Zend/zend_ts_hash.h
+++ b/Zend/zend_ts_hash.h
@@ -32,6 +32,8 @@ typedef struct _zend_ts_hashtable {
BEGIN_EXTERN_C()
+#define TS_HASH(table) (&(table->hash))
+
/* startup/shutdown */
ZEND_API int zend_ts_hash_init(TsHashTable *ht, uint nSize, hash_func_t pHashFunction, dtor_func_t pDestructor, zend_bool persistent);
ZEND_API int zend_ts_hash_init_ex(TsHashTable *ht, uint nSize, hash_func_t pHashFunction, dtor_func_t pDestructor, zend_bool persistent, zend_bool bApplyProtection);