1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Use better data structures (incomplete)

This commit is contained in:
Dmitry Stogov
2014-02-21 22:59:51 +04:00
parent 008a42e7c8
commit 6454684212
6 changed files with 72 additions and 22 deletions

View File

@@ -57,7 +57,7 @@
#define SET_INVALID(o) ((zend_object*)((((zend_uintptr_t)(o)) | FREE_BUCKET)))
#define GET_BUCKET_NUMBER(o) (((zend_uintptr_t)(o)) >> 1)
#define GET_BUCKET_NUMBER(o) (((zend_intptr_t)(o)) >> 1)
#define SET_BUCKET_NUMBER(o, n) do { \
(o) = (zend_object*)((((zend_uintptr_t)(n)) << 1) | FREE_BUCKET); \