On Mon, Aug 22, 2016 at 4:59 PM, Dheeraj Singh
<[email protected]> wrote:
> 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

There is some discussion about that here:
https://github.com/nodejs/node-gyp/issues/1007

-- 
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/CAHQurc_vVqamATFuoo%2BNZ9hh0C1RLgWgnH6ZgsgmTKmxO8gFvQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to