Basically I want to:
v8::Script::Run
v8::Script::Compile
--
--
v8-users mailing list
v8-users@googlegroups.com
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 receivi
Yes, the examples are horribly written and hard to understand.
And I don't believe any of them covered this:
// get the function
v8::Local global = context->Global();
v8::Local function_value1 =
global->Get(v8::String::NewFromUtf8(isolate, "StartNamespace"));
v8::Local a = v8::Local::Cast(funct
On Wed, Jun 6, 2018 at 11:42 AM, Joe Smack wrote:
> Let's say you compile and run code:
>
> var StartNamespace =
> {
> cppTalkTo: function () {
> // some code
> }
> };
> StartNamespace.init();
>
> After you compile and run the above code how could you call cppTalkTo from
> C++? What
Let's say you compile and run code:
var StartNamespace =
{
cppTalkTo: function () {
// some code
}
};
StartNamespace.init();
After you compile and run the above code how could you call cppTalkTo from
C++? Whats the C++ functions for that?
Basically I want to:
v8::Script::Run
v8: