Skip to content

Commit bcf30a0

Browse files
committed
some more clear comments
1 parent c331afa commit bcf30a0

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

Zend/zend_object_handlers.h

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,12 @@ typedef void (*zend_object_write_dimension_t)(zval *object, zval *offset, zval *
5050
/* Used to create pointer to the property of the object, for future direct r/w access */
5151
typedef zval **(*zend_object_get_property_ptr_ptr_t)(zval *object, zval *member TSRMLS_DC);
5252

53-
/* Used to set object value (most probably used in combination with
54-
* typedef the result of the get_property_ptr)
55-
*/
53+
/* Used to set object value. Can be used to override assignments and scalar
54+
write ops (like ++, +=) on the object */
5655
typedef void (*zend_object_set_t)(zval **property, zval *value TSRMLS_DC);
5756

58-
/* Used to get object value (most probably used in combination with
59-
* the result of the get_property_ptr or when converting object value to
60-
* one of the basic types)
57+
/* Used to get object value. Can be used when converting object value to
58+
* one of the basic types and when using scalar ops (like ++, +=) on the object
6159
*/
6260
typedef zval* (*zend_object_get_t)(zval *property TSRMLS_DC);
6361

0 commit comments

Comments
 (0)