How do I convert an incoming argument to a Local<Function>?
It's basically a script progress callback function that I need to fire in
the calling script.
See the following stripped down example code in yellow which used to work:
void
MyObject_execute(const FunctionCallbackInfo<Value>& args)
{
Local<Function> funcProgress;
funcProgress = Function::Cast(*args[0]); <--Error here.
}
error C2248: 'v8::Local<T>::Local' : cannot access private member declared
in class 'v8::Local<T>'
with
[
T=v8::Function
]
V8\include\v8.h(430) : see declaration of 'v8::Local<T>::Local'
with
[
T=v8::Function
]
--
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to the Google Groups
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.