mirror of
https://github.com/phpv8/v8js.git
synced 2024-12-22 18:41:52 +00:00
provide get_gc obj handler
This commit is contained in:
parent
6a7753a43a
commit
c1d3bda4dc
@ -263,6 +263,14 @@ static HashTable *v8js_v8object_get_properties(zval *object) /* {{{ */
|
|||||||
}
|
}
|
||||||
/* }}} */
|
/* }}} */
|
||||||
|
|
||||||
|
static HashTable *v8js_v8object_get_gc(zval *object, zval **table, int *n) /* {{{ */
|
||||||
|
{
|
||||||
|
*table = NULL;
|
||||||
|
*n = 0;
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
/* }}} */
|
||||||
|
|
||||||
static HashTable *v8js_v8object_get_debug_info(zval *object, int *is_temp) /* {{{ */
|
static HashTable *v8js_v8object_get_debug_info(zval *object, int *is_temp) /* {{{ */
|
||||||
{
|
{
|
||||||
*is_temp = 0;
|
*is_temp = 0;
|
||||||
@ -828,6 +836,7 @@ PHP_MINIT_FUNCTION(v8js_v8object_class) /* {{{ */
|
|||||||
v8js_v8object_handlers.get_properties = v8js_v8object_get_properties;
|
v8js_v8object_handlers.get_properties = v8js_v8object_get_properties;
|
||||||
v8js_v8object_handlers.get_method = v8js_v8object_get_method;
|
v8js_v8object_handlers.get_method = v8js_v8object_get_method;
|
||||||
v8js_v8object_handlers.call_method = v8js_v8object_call_method;
|
v8js_v8object_handlers.call_method = v8js_v8object_call_method;
|
||||||
|
v8js_v8object_handlers.get_gc = v8js_v8object_get_gc;
|
||||||
v8js_v8object_handlers.get_debug_info = v8js_v8object_get_debug_info;
|
v8js_v8object_handlers.get_debug_info = v8js_v8object_get_debug_info;
|
||||||
v8js_v8object_handlers.get_closure = v8js_v8object_get_closure;
|
v8js_v8object_handlers.get_closure = v8js_v8object_get_closure;
|
||||||
v8js_v8object_handlers.offset = XtOffsetOf(struct v8js_v8object, std);
|
v8js_v8object_handlers.offset = XtOffsetOf(struct v8js_v8object, std);
|
||||||
|
Loading…
Reference in New Issue
Block a user