> In C I do this:
> typedef struct pst_file {
> pst_desc_tree *d_head
> } pst_file;
>
> pst_desc_tree *d_ptr; //this is another struct
> d_ptr = pstfile.d_head;
It's a pointer to a struct actually. I think you need to explain more
what you intend to do with the variable after. Are you trying to make
a duplicate of the struct? It seems to me that what you have above
would be achieved with "pstfile.d_head.slice(0)" but I can't really
imagine what you would need that for.
--
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