From: Stanislav Malyshev Date: Sun, 28 Mar 2004 12:05:36 +0000 (+0000) Subject: some more clear comments X-Git-Tag: php-5.0.0RC2RC1~195 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bcf30a04f505efc0e8a66f8c3dbbd1879fd24c5e;p=php some more clear comments --- diff --git a/Zend/zend_object_handlers.h b/Zend/zend_object_handlers.h index 89c4b06923..a0c2cfa8e4 100644 --- a/Zend/zend_object_handlers.h +++ b/Zend/zend_object_handlers.h @@ -50,14 +50,12 @@ typedef void (*zend_object_write_dimension_t)(zval *object, zval *offset, zval * /* Used to create pointer to the property of the object, for future direct r/w access */ typedef zval **(*zend_object_get_property_ptr_ptr_t)(zval *object, zval *member TSRMLS_DC); -/* Used to set object value (most probably used in combination with - * typedef the result of the get_property_ptr) - */ +/* Used to set object value. Can be used to override assignments and scalar + write ops (like ++, +=) on the object */ typedef void (*zend_object_set_t)(zval **property, zval *value TSRMLS_DC); -/* Used to get object value (most probably used in combination with - * the result of the get_property_ptr or when converting object value to - * one of the basic types) +/* Used to get object value. Can be used when converting object value to + * one of the basic types and when using scalar ops (like ++, +=) on the object */ typedef zval* (*zend_object_get_t)(zval *property TSRMLS_DC);