The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From: Ben Noordhuis <i...@bnoordhuis.nl>
Date: Fri, 26 Oct 2012 16:16:44 +0200
Local: Fri, Oct 26 2012 10:16 am
Subject: Re: [nodejs] Pass an int to a node.js addon
On Fri, Oct 26, 2012 at 2:00 PM, NodeNinja <aeon6f...@gmail.com> wrote:
Yep. Here is how you accept one:
>> int length = args[0]->Int32Value();
> Thanks for that info Ben,
> Further to that is there a way to pass and return array of pointers I have
if (!args[0]->IsArray()) {
And this is how you create one:
Local<Array> array = Array::New(32); // 32=initial length, optional
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||