I'm working on a node module and I'm trying to get a method of one C++ class to return an instance of another C++ class to Javascript, but I'm not sure how to go about it.
In the constructor, I can simply use args.This(), but in a method that will point to the instance the method is running on. I tried storing the constructor and using something like `constructor->GetFunction()->NewInstance(argc, argv)`, but that assumes all arguments can be converted to V8 types. In my case however, they can not. I'd really appreciate some guidance. :) Here's some sample code of what I'm trying to do; https://gist.github.com/Qard/2970e09ae96475c8a41a -- -- 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.
