Skip to content

Commit cba24df

Browse files
committed
adapt v8 api change, closes #528
1 parent aac40cd commit cba24df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

v8js_variables.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ void v8js_register_accessors(std::vector<v8js_accessor_ctx*> *accessor_list, v8:
8080
ctx->isolate = isolate;
8181

8282
/* Set the variable fetch callback for given symbol on named property */
83-
php_obj->SetAccessor(V8JS_STRL(ZSTR_VAL(property_name), static_cast<int>(ZSTR_LEN(property_name))), v8js_fetch_php_variable, NULL, v8::External::New(isolate, ctx), v8::DEFAULT, v8::ReadOnly);
83+
php_obj->SetAccessor(V8JS_STRL(ZSTR_VAL(property_name), static_cast<int>(ZSTR_LEN(property_name))), v8js_fetch_php_variable, NULL, v8::External::New(isolate, ctx));
8484

8585
/* record the context so we can free it later */
8686
accessor_list->push_back(ctx);

0 commit comments

Comments
 (0)