On Tuesday, 2 August 2016 07:23:09 UTC+1, Ben Noordhuis wrote: > > You can wrap a pointer to your instance in a v8::External that you > then pass as the |data| argument to v8::FunctionTemplate::New(). It's > available in the callback as args.Data(). >
Thanks for the reply. Sorry for the trouble, but could someone show an example of creating an External object from a pointer to my class? I assume I need to cast the pointer to void * but I can't figure out how to create the object. Thanks. -- -- 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.
