diff options
Diffstat (limited to 'Zend/zend_objects_API.h')
-rw-r--r-- | Zend/zend_objects_API.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Zend/zend_objects_API.h b/Zend/zend_objects_API.h index 6fac2b535e..08cefb8ba6 100644 --- a/Zend/zend_objects_API.h +++ b/Zend/zend_objects_API.h @@ -37,6 +37,10 @@ (o) = (zend_object*)((((zend_uintptr_t)(n)) << 1) | OBJ_BUCKET_INVALID); \ } while (0) +#define ZEND_OBJECTS_STORE_ADD_TO_FREE_LIST(h) do { \ + SET_OBJ_BUCKET_NUMBER(EG(objects_store).object_buckets[(h)], EG(objects_store).free_list_head); \ + EG(objects_store).free_list_head = (h); \ + } while (0) #define OBJ_RELEASE(obj) zend_object_release(obj) |