swathi jakkam
unread,Apr 16, 2012, 2:34:49 AM4/16/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to v8-users
Hi,
I wrote a sample example in v8. From v8 I call the java script
function. but here i got unhandled exception occur.
observer below code it is in javascript file.:
function JS_dump()
{
print("JS_DUMP");
}
below code in v8. from v8 i call the javascript function from v8.
v8::Local<v8::Function> func = 8::Local<v8::Function>::Cast(context-
>Global()->Get(v8::String::New("JS_dump")));
v8::Handle<v8::Value> result = func->Call(func, 0, NULL);
printf("Function result: %d\n", result->Int32Value());
but here first line that means FUNC i got error.Could you please any
one tell solution for this one.
Regards,
swathi.