On Wed, Jan 6, 2016 at 10:51 PM, Mariusz <[email protected]> wrote: > Hello, > > JavaScript code: > > var pt = new Point(6, 1); > > > c++ code: > > void PointConstructor(const FunctionCallbackInfo<v8::Value>& args ) > { ... > > How can I get "pt" string here ? > > ...} > > int main() > { ... > global_template = ObjectTemplate::New(); > global_template->Set(String::NewFromUtf8(isolate,"Point"), > FunctionTemplate::New(isolate,PointConstructor)); > ...} > > V8 4.4.9 > Thank You.
You don't, a value is not its referent. What would you want it for? -- -- 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/d/optout.
