You probably want to start by reading up on nan and some of the v8
documentation it links to: https://github.com/nodejs/nan

It includes some helpers and wrappers that might help, but more importantly
it will make it a lot easier to be compatible with multiple versions of
node if/when that becomes important for your project.

~Ryan

On Mon, 21 Sep 2015 at 23:33 Leopoldo Belmonte <[email protected]>
wrote:

> Hi
>
> I need to convert a C data structures into nodejs code.
>
> the C structure is:
>
> typedef struct {
> char Amount[8+1];
> char ECRId[8+1];
> char PaymentType[1+1];
> char CashId[8+1];
> }cashData;
>
> i would like to konw which nodejs module I have to use and how I can do
> assignment to attribute of the structure.
>
> Thank you
>
> --
> Job board: http://jobs.nodejs.org/
> New group rules:
> https://gist.github.com/othiym23/9886289#file-moderation-policy-md
> Old group rules:
> 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 unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nodejs/7b90a7ab-40a8-40b5-be68-6f257f2cb2ed%40googlegroups.com
> <https://groups.google.com/d/msgid/nodejs/7b90a7ab-40a8-40b5-be68-6f257f2cb2ed%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/CAGjmZGx53uF2%2BaAfqJJA7QqMuG-YgaRq_zBhe%2B2Hm3OMU8h8FQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to