Ya immediate function call. My bad for not mentioning that. Ok, I had it passing as a Local, but I didn't know if that was bad or not.
I have to admit, the docs for v8, node and libuv are all difficult to merge into one as a beginner. I'm honestly just brute forcing my knowledge of these libraries as much as I can. I make attempts to scan each set of docs for information as to how to do things, and when I cant find it there I go to github looking for examples using code search, and if that fails I go to google. When those all fail I generally go to IRC or here. It's a slow painful progression but it's basically the only way I know how to, at the moment. Ryan On Sunday, November 11, 2012 7:19:15 PM UTC-6, Ben Noordhuis wrote: > > On Mon, Nov 12, 2012 at 1:54 AM, Ryan Cole <ry...@rycole.com <javascript:>> > 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 nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en