Skip to content

Instantly share code, notes, and snippets.

@jpauli
Last active December 15, 2015 12:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jpauli/5264195 to your computer and use it in GitHub Desktop.
Save jpauli/5264195 to your computer and use it in GitHub Desktop.
typedef struct _hashtable {
uint nTableSize;
uint nTableMask;
uint nNumOfElements;
zend_bool persistent;
unsigned char nApplyCount;
zend_bool bApplyProtection;
ulong nNextFreeElement;
Bucket *pInternalPointer; /* Used for element traversal */
Bucket *pListHead;
Bucket *pListTail;
Bucket **arBuckets;
dtor_func_t pDestructor;
#if ZEND_DEBUG
int inconsistent;
#endif
} HashTable;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment