I need build list of JS var names of "Point" type objects localized in JS 
code. 
Do you know other way to do this with v8?

Thank You for support.

Best Regards,
Mariusz

W dniu środa, 6 stycznia 2016 23:13:36 UTC+1 użytkownik Ben Noordhuis 
napisał:
>
> On Wed, Jan 6, 2016 at 10:51 PM, Mariusz <[email protected] 
> <javascript:>> 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.

Reply via email to