Here is the answer: http://stackoverflow.com/questions/10340552/how-to-pass-a-wrapped-c-object-to-a-javascript-callback
On Tuesday, July 23, 2013 8:50:19 AM UTC+1, Luís Miranda wrote: > > Hi. > > Does anyone know how to return a wrapped object as a callback argument? > > In the example (http://nodejs.org/api/addons.html#addons_callbacks) a > string is returned. How do i do if i want to return a *MyObject (* > http://nodejs.org/api/addons.html#addons_wrapping_c_objects*)* instance? > > Thanks in advance. > -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" 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/groups/opt_out.
