diff options
author | Andi Gutmans <andi@php.net> | 2002-06-15 08:47:11 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2002-06-15 08:47:11 +0000 |
commit | e8fe69884f8b87484d980a0aff5b13d4f4845515 (patch) | |
tree | 79ec5c822540197e02a8afdf13c1953627c66ba1 /Zend/zend_objects.h | |
parent | bdc88cd7b600e24d49f91adf854199f0ab91939c (diff) | |
download | php-git-e8fe69884f8b87484d980a0aff5b13d4f4845515.tar.gz |
- Fix copy&paste problem where we allocated according to an old structure
- decleration and not the new one.
Diffstat (limited to 'Zend/zend_objects.h')
-rw-r--r-- | Zend/zend_objects.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/Zend/zend_objects.h b/Zend/zend_objects.h index f173e1195d..22cfaf7ee5 100644 --- a/Zend/zend_objects.h +++ b/Zend/zend_objects.h @@ -3,27 +3,6 @@ #include "zend.h" -typedef struct _zend_object_bucket { - zend_bool valid; - zend_bool destructor_called; - union _bucket { - struct { - zend_object object; - zend_uint refcount; - } obj; - struct { - int next; - } free_list; - } bucket; -} zend_object_bucket; - -typedef struct _zend_objects { - zend_object_bucket *object_buckets; - zend_uint top; - zend_uint size; - int free_list_head; -} zend_objects; - zend_object_value zend_objects_new(zend_object **object, zend_class_entry *class_type); zend_object *zend_objects_get_address(zval *object); zend_object_value zend_objects_clone_obj(zval *object TSRMLS_DC); |