@@ -669,32 +669,6 @@ static PHP_METHOD(V8Js, executeScript)
669
669
}
670
670
/* }}} */
671
671
672
- /* {{{ proto mixed V8Js::checkString(string script)
673
- */
674
- static PHP_METHOD (V8Js, checkString)
675
- {
676
- zend_string *str = NULL ;
677
- zend_string *identifier = zend_string_init (" V8Js::checkString()" , 19 , 0 );
678
-
679
- v8js_script *res = NULL ;
680
-
681
- if (zend_parse_parameters (ZEND_NUM_ARGS (), " S" , &str) == FAILURE) {
682
- return ;
683
- }
684
-
685
- v8js_compile_script (getThis (), str, identifier, &res);
686
- zend_string_release (identifier);
687
-
688
- if (!res) {
689
- RETURN_FALSE;
690
- }
691
-
692
- v8js_script_free (res);
693
- efree (res);
694
- RETURN_TRUE;
695
- }
696
- /* }}} */
697
-
698
672
/* {{{ proto void V8Js::setModuleNormaliser(string base, string module_id)
699
673
*/
700
674
static PHP_METHOD (V8Js, setModuleNormaliser)
@@ -987,7 +961,6 @@ const zend_function_entry v8js_methods[] = { /* {{{ */
987
961
PHP_ME (V8Js, executeString, arginfo_v8js_executestring, ZEND_ACC_PUBLIC)
988
962
PHP_ME (V8Js, compileString, arginfo_v8js_compilestring, ZEND_ACC_PUBLIC)
989
963
PHP_ME (V8Js, executeScript, arginfo_v8js_executescript, ZEND_ACC_PUBLIC)
990
- PHP_ME (V8Js, checkString, arginfo_v8js_checkstring, ZEND_ACC_PUBLIC|ZEND_ACC_DEPRECATED)
991
964
PHP_ME (V8Js, setModuleNormaliser, arginfo_v8js_setmodulenormaliser, ZEND_ACC_PUBLIC)
992
965
PHP_ME (V8Js, setModuleLoader, arginfo_v8js_setmoduleloader, ZEND_ACC_PUBLIC)
993
966
PHP_ME (V8Js, setTimeLimit, arginfo_v8js_settimelimit, ZEND_ACC_PUBLIC)
0 commit comments