|
@@ -16,14 +16,12 @@
|
|
#endif
|
|
#endif
|
|
|
|
|
|
#include "php_v8js_macros.h"
|
|
#include "php_v8js_macros.h"
|
|
|
|
+#include "v8js_commonjs.h"
|
|
|
|
|
|
extern "C" {
|
|
extern "C" {
|
|
#include "zend_exceptions.h"
|
|
#include "zend_exceptions.h"
|
|
}
|
|
}
|
|
|
|
|
|
-/* Forward declarations */
|
|
|
|
-void v8js_commonjs_normalise_identifier(char *base, char *identifier, char *normalised_path, char *module_name);
|
|
|
|
-
|
|
|
|
/* global.exit - terminate execution */
|
|
/* global.exit - terminate execution */
|
|
V8JS_METHOD(exit) /* {{{ */
|
|
V8JS_METHOD(exit) /* {{{ */
|
|
{
|
|
{
|