0
0
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:
Stefan Siegl 2016-05-22 15:20:05 +02:00
parent ed8e88e11d
commit d4d8ccc4f6

View File

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