mirror of
https://github.com/phpv8/v8js.git
synced 2024-12-22 18:41:52 +00:00
prove get_property_ptr_ptr handler for v8object
This commit is contained in:
parent
c2873fd8d3
commit
885ac6d249
@ -161,6 +161,12 @@ static zval *v8js_v8object_read_property(zval *object, zval *member, int type, v
|
|||||||
}
|
}
|
||||||
/* }}} */
|
/* }}} */
|
||||||
|
|
||||||
|
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 ) /* {{{ */
|
static zval *v8js_v8object_write_property(zval *object, zval *member, zval *value, void **cache_slot ) /* {{{ */
|
||||||
{
|
{
|
||||||
v8js_v8object *obj = Z_V8JS_V8OBJECT_OBJ_P(object);
|
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));
|
memcpy(&v8js_v8object_handlers, zend_get_std_object_handlers(), sizeof(zend_object_handlers));
|
||||||
v8js_v8object_handlers.clone_obj = NULL;
|
v8js_v8object_handlers.clone_obj = NULL;
|
||||||
v8js_v8object_handlers.cast_object = 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.has_property = v8js_v8object_has_property;
|
||||||
v8js_v8object_handlers.read_property = v8js_v8object_read_property;
|
v8js_v8object_handlers.read_property = v8js_v8object_read_property;
|
||||||
v8js_v8object_handlers.write_property = v8js_v8object_write_property;
|
v8js_v8object_handlers.write_property = v8js_v8object_write_property;
|
||||||
|
Loading…
Reference in New Issue
Block a user