diff options
author | Stanislav Malyshev <stas@php.net> | 2004-03-28 12:05:36 +0000 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2004-03-28 12:05:36 +0000 |
commit | bcf30a04f505efc0e8a66f8c3dbbd1879fd24c5e (patch) | |
tree | 28bffc619bc2440168f810d6457660d9c8725d7e | |
parent | c331afa2676dc986bba676b263da86b3f3a96e5a (diff) | |
download | php-git-bcf30a04f505efc0e8a66f8c3dbbd1879fd24c5e.tar.gz |
some more clear comments
-rw-r--r-- | Zend/zend_object_handlers.h | 10 |
1 files changed, 4 insertions, 6 deletions
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); |