mirror of
https://github.com/phpv8/v8js.git
synced 2024-11-08 13:48:40 +00:00
fix version macros name
This commit is contained in:
parent
8862498a10
commit
c0290d4a17
@ -32,7 +32,7 @@ extern "C" {
|
||||
#include <mutex>
|
||||
|
||||
/* V8Js Version */
|
||||
#define V8JS_VERSION "0.1.3"
|
||||
#define PHP_V8JS_VERSION "0.1.3"
|
||||
|
||||
/* Helper macros */
|
||||
#define V8JS_SYM(v) v8::String::NewSymbol(v, sizeof(v) - 1)
|
||||
|
4
v8js.cc
4
v8js.cc
@ -1497,7 +1497,7 @@ static PHP_MINFO_FUNCTION(v8js)
|
||||
php_info_print_table_header(2, "V8 Javascript Engine", "enabled");
|
||||
php_info_print_table_header(2, "V8 Engine Compiled Version", PHP_V8_VERSION);
|
||||
php_info_print_table_header(2, "V8 Engine Linked Version", v8::V8::GetVersion());
|
||||
php_info_print_table_header(2, "Version", V8JS_VERSION);
|
||||
php_info_print_table_header(2, "Version", PHP_V8JS_VERSION);
|
||||
php_info_print_table_end();
|
||||
|
||||
DISPLAY_INI_ENTRIES();
|
||||
@ -1536,7 +1536,7 @@ zend_module_entry v8js_module_entry = {
|
||||
NULL,
|
||||
PHP_RSHUTDOWN(v8js),
|
||||
PHP_MINFO(v8js),
|
||||
V8JS_VERSION,
|
||||
PHP_V8JS_VERSION,
|
||||
PHP_MODULE_GLOBALS(v8js),
|
||||
PHP_GINIT(v8js),
|
||||
NULL,
|
||||
|
Loading…
Reference in New Issue
Block a user