diff --git a/v8js_v8object_class.cc b/v8js_v8object_class.cc index 51b16f0..1c5c808 100644 --- a/v8js_v8object_class.cc +++ b/v8js_v8object_class.cc @@ -161,7 +161,13 @@ static zval *v8js_v8object_read_property(zval *object, zval *member, int type, v } /* }}} */ -static zval* v8js_v8object_write_property(zval *object, zval *member, zval *value, void **cache_slot ) /* {{{ */ +static zval *v8js_v8object_get_property_ptr_ptr(zval *object, zval *member, int type, void **cache_slot) /* {{{ */ +{ + return NULL; +} +/* }}} */ + +static zval *v8js_v8object_write_property(zval *object, zval *member, zval *value, void **cache_slot ) /* {{{ */ { v8js_v8object *obj = Z_V8JS_V8OBJECT_OBJ_P(object); @@ -814,7 +820,7 @@ PHP_MINIT_FUNCTION(v8js_v8object_class) /* {{{ */ memcpy(&v8js_v8object_handlers, zend_get_std_object_handlers(), sizeof(zend_object_handlers)); v8js_v8object_handlers.clone_obj = NULL; v8js_v8object_handlers.cast_object = NULL; - v8js_v8object_handlers.get_property_ptr_ptr = NULL; + v8js_v8object_handlers.get_property_ptr_ptr = v8js_v8object_get_property_ptr_ptr; v8js_v8object_handlers.has_property = v8js_v8object_has_property; v8js_v8object_handlers.read_property = v8js_v8object_read_property; v8js_v8object_handlers.write_property = v8js_v8object_write_property;