mirror of
https://github.com/phpv8/v8js.git
synced 2025-01-18 17:21:52 +00:00
don't declare v8js_named_property_callback inline
This commit is contained in:
parent
fcb056b5a5
commit
71c43b6377
@ -502,7 +502,7 @@ static void v8js_fake_call_impl(const v8::FunctionCallbackInfo<v8::Value>& info)
|
|||||||
|
|
||||||
/* This method handles named property and method get/set/query/delete. */
|
/* This method handles named property and method get/set/query/delete. */
|
||||||
template<typename T>
|
template<typename T>
|
||||||
inline v8::Local<v8::Value> v8js_named_property_callback(v8::Local<v8::String> property, const v8::PropertyCallbackInfo<T> &info, property_op_t callback_type, v8::Local<v8::Value> set_value) /* {{{ */
|
v8::Local<v8::Value> v8js_named_property_callback(v8::Local<v8::String> property, const v8::PropertyCallbackInfo<T> &info, property_op_t callback_type, v8::Local<v8::Value> set_value) /* {{{ */
|
||||||
{
|
{
|
||||||
v8::Isolate *isolate = info.GetIsolate();
|
v8::Isolate *isolate = info.GetIsolate();
|
||||||
v8::String::Utf8Value cstr(property);
|
v8::String::Utf8Value cstr(property);
|
||||||
|
Loading…
Reference in New Issue
Block a user