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

Sun, 11 Nov 2012 17:19:09 -0800

On Mon, Nov 12, 2012 at 1:54 AM, Ryan Cole <[email protected]> wrote:
> 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

Immediate function call, not asynchronous?  You can pass the object as
a Local<>.

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