Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.1:Update
php5-pecl-v8js
v8js-alignedpointers.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File v8js-alignedpointers.patch of Package php5-pecl-v8js
diff -rupN v8js-0.1.3.orig/v8js_convert.cc v8js-0.1.3/v8js_convert.cc --- v8js_convert.cc 2012-06-13 04:40:04.000000000 +0200 +++ v8js_convert.cc 2013-05-24 23:03:26.000000000 +0200 @@ -36,7 +36,7 @@ extern "C" { static v8::Handle<v8::Value> php_v8js_php_callback(const v8::Arguments &args) /* {{{ */ { v8::Handle<v8::Value> return_value; - zval *value = reinterpret_cast<zval *>(args.This()->GetPointerFromInternalField(0)); + zval *value = reinterpret_cast<zval *>(args.This()->GetAlignedPointerFromInternalField(0)); zend_function *method_ptr; zend_fcall_info fci; zend_fcall_info_cache fcc; @@ -383,7 +383,7 @@ static v8::Handle<v8::Value> php_v8js_ha newobj->SetHiddenValue(V8JS_SYM(ZEND_ISSET_FUNC_NAME), PHP_V8JS_CALLBACK(isset_ptr)); } } - newobj->SetPointerInInternalField(0, (void *) value); + newobj->SetAlignedPointerInInternalField(0, (void *) value); } else { new_tpl->SetClassName(V8JS_SYM("Array")); newobj = new_tpl->InstanceTemplate()->NewInstance();
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor