[nodejs] How to properly pass Local as function param?

Sun, 11 Nov 2012 16:54:23 -0800

In a C++ addon, I've got a function in which I instantiate a Local<Object>. 
I want to pass that as an argument to another function. Should the argument 
be passed as a Local<Object>, or Persistent<Object>? I'm unsure of when I 
should use either of those.

Thanks

-- 
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

Reply via email to