]> granicus.if.org Git - php/commitdiff
Happy, Pierre?
authorAndrei Zmievski <andrei@php.net>
Fri, 21 Apr 2006 16:58:14 +0000 (16:58 +0000)
committerAndrei Zmievski <andrei@php.net>
Fri, 21 Apr 2006 16:58:14 +0000 (16:58 +0000)
Zend/zend_objects_API.c

index 0a35ad8fd3247ef966d6180eb948dae76b4c49c9..988b571b5f3aa04d6d83cd55d23b9e57219455f5 100644 (file)
@@ -135,6 +135,9 @@ ZEND_API void zend_objects_store_add_ref(zval *object TSRMLS_DC)
 #endif
 }
 
+/*
+ * Add a reference to an objects store entry given the object handle.
+ */
 ZEND_API void zend_objects_store_add_ref_by_handle(zend_object_handle handle TSRMLS_DC)
 {
        EG(objects_store).object_buckets[handle].bucket.obj.refcount++;
@@ -156,6 +159,9 @@ ZEND_API void zend_objects_store_del_ref(zval *zobject TSRMLS_DC)
        zobject->refcount--;
 }
 
+/*
+ * Delete a reference to an objects store entry given the object handle.
+ */
 ZEND_API void zend_objects_store_del_ref_by_handle(zend_object_handle handle TSRMLS_DC)
 {
        struct _store_object *obj;
@@ -227,6 +233,9 @@ ZEND_API void *zend_object_store_get_object(zval *zobject TSRMLS_DC)
        return EG(objects_store).object_buckets[handle].bucket.obj.object;
 }
 
+/*
+ * Retrieve an entry from the objects store given the object handle.
+ */
 ZEND_API void *zend_object_store_get_object_by_handle(zend_object_handle handle TSRMLS_DC)
 {
        return EG(objects_store).object_buckets[handle].bucket.obj.object;