Hi Friends,

I have created two addons, what is expected is to extern a variable from 
one addon to another addon.
But when I extern the global variable declared in one addon to another.
In the addon where I am doing extern, I am getting symbol not defined error 
for that variable.
Please help me with a solution for this.
Also I do not want to pass that variable back to JS and then pass to 
another addon from there because of security constraints.

Code from  Addon1.node:
char libVersion[] = "test string";

Code from Addon2.node:
*extern char libVersion[];*

Thanks & Regards,
Dheeraj

-- 
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/ee0e4598-8a4c-45d8-a63b-2608881bbc7f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to