forked from enlightenment/efl
[ecore_js] fix: using compatibility layer to access return value
This commit is contained in:
parent
5b40e6a637
commit
cf2db774b3
|
@ -61,8 +61,9 @@ static v8::Local<v8::Object> wrap_timer(Ecore_Timer *timer,
|
|||
return compatibility_return();
|
||||
|
||||
auto ret = ecore_timer_freeze_get(extract_timer(info.This()));
|
||||
info.GetReturnValue().Set(compatibility_new<Boolean>
|
||||
(info.GetIsolate(), bool(ret)));
|
||||
return compatibility_return(compatibility_new<Boolean>
|
||||
(info.GetIsolate(), bool(ret)),
|
||||
info);
|
||||
};
|
||||
|
||||
auto thaw = [](compatibility_callback_info_type info)
|
||||
|
|
Loading…
Reference in New Issue