mirror of
https://github.com/phpv8/v8js.git
synced 2024-11-08 14:48:40 +00:00
return SUCCESS from PHP_MINIT_FUNCTION
This commit is contained in:
parent
0e76b675d2
commit
3726d233b8
@ -1049,6 +1049,8 @@ PHP_MINIT_FUNCTION(v8js_class) /* {{{ */
|
||||
#endif
|
||||
|
||||
le_v8js_script = zend_register_list_destructors_ex(v8js_script_dtor, NULL, PHP_V8JS_SCRIPT_RES_NAME, module_number);
|
||||
|
||||
return SUCCESS;
|
||||
} /* }}} */
|
||||
|
||||
/*
|
||||
|
@ -232,6 +232,7 @@ PHP_MINIT_FUNCTION(v8js_exceptions) /* {{{ */
|
||||
php_ce_v8js_memory_limit_exception = zend_register_internal_class_ex(&ce, php_ce_v8js_exception, NULL TSRMLS_CC);
|
||||
php_ce_v8js_memory_limit_exception->ce_flags |= ZEND_ACC_FINAL;
|
||||
|
||||
return SUCCESS;
|
||||
} /* }}} */
|
||||
|
||||
/*
|
||||
|
@ -575,6 +575,8 @@ PHP_MINIT_FUNCTION(v8js_v8object_class) /* {{{ */
|
||||
v8js_v8object_handlers.call_method = v8js_v8object_call_method;
|
||||
v8js_v8object_handlers.get_debug_info = v8js_v8object_get_debug_info;
|
||||
v8js_v8object_handlers.get_closure = v8js_v8object_get_closure;
|
||||
|
||||
return SUCCESS;
|
||||
} /* }}} */
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user