mirror of
https://github.com/phpv8/v8js.git
synced 2024-12-23 02:51:51 +00:00
Fix #ifdef change, don't call SetArrayBufferAllocator
This commit is contained in:
parent
ed8e88e11d
commit
d4d8ccc4f6
@ -1297,9 +1297,6 @@ PHP_MINIT_FUNCTION(v8js_class) /* {{{ */
|
|||||||
|
|
||||||
le_v8js_script = zend_register_list_destructors_ex(v8js_script_dtor, NULL, PHP_V8JS_SCRIPT_RES_NAME, module_number);
|
le_v8js_script = zend_register_list_destructors_ex(v8js_script_dtor, NULL, PHP_V8JS_SCRIPT_RES_NAME, module_number);
|
||||||
|
|
||||||
static ArrayBufferAllocator array_buffer_allocator;
|
|
||||||
v8::V8::SetArrayBufferAllocator(&array_buffer_allocator);
|
|
||||||
|
|
||||||
return SUCCESS;
|
return SUCCESS;
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user