0
0
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:
Stefan Siegl 2015-03-12 12:13:33 +01:00
parent 0e76b675d2
commit 3726d233b8
3 changed files with 5 additions and 0 deletions

View File

@ -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;
} /* }}} */
/*

View File

@ -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;
} /* }}} */
/*

View File

@ -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;
} /* }}} */