Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

fix: export napi symbols #77

Merged
merged 2 commits into from
Oct 15, 2018
Merged

Conversation

nornagon
Copy link
Member

matches the change in node.h in 88b4941, both are necessary because Chromium builds with symbols hidden by default

Fixes electron/electron#15168

matches the change in node.h in 88b4941, both are necessary because Chromium builds with symbols hidden by default
src/node_api.h Outdated
@@ -31,7 +31,7 @@ struct uv_loop_s; // Forward declaration.
#define NAPI_EXTERN __declspec(dllexport)
#endif
#else
#define NAPI_EXTERN /* nothing */
#define NAPI_EXTERN __attribute((visibility("default")))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure whether it matters to you, but the node.h patch uses __attribute__, as does most of Node.js by itself (e.g. this would probably requested when upstreaming the change.)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

d'oh, this was just a typo. fixed :) good catch!

@nornagon nornagon merged commit 3349ef0 into electron-node-v10.11.0-V8-6.9 Oct 15, 2018
@nornagon nornagon deleted the napi-visibility branch October 15, 2018 22:16
nornagon added a commit to electron/electron that referenced this pull request Oct 15, 2018
@nornagon nornagon mentioned this pull request Oct 15, 2018
2 tasks
nornagon added a commit that referenced this pull request Oct 16, 2018
matches the change in node.h in 88b4941, both are necessary because Chromium builds with symbols hidden by default
trop-bot pushed a commit to trop-bot/electron that referenced this pull request Oct 18, 2018
MarshallOfSound pushed a commit to electron/electron that referenced this pull request Oct 18, 2018
* chore: roll node

brings in electron/node#76 and electron/node#77

* chore: roll node
trop-bot pushed a commit to trop-bot/electron that referenced this pull request Oct 18, 2018
codebytere pushed a commit to electron/electron that referenced this pull request Oct 19, 2018
* chore: roll node

brings in electron/node#76 and electron/node#77

* chore: roll node
MarshallOfSound pushed a commit that referenced this pull request Oct 25, 2018
matches the change in node.h in 88b4941, both are necessary because Chromium builds with symbols hidden by default
MarshallOfSound pushed a commit that referenced this pull request Oct 25, 2018
matches the change in node.h in 88b4941, both are necessary because Chromium builds with symbols hidden by default
deepak1556 pushed a commit that referenced this pull request Dec 10, 2018
matches the change in node.h in 88b4941, both are necessary because Chromium builds with symbols hidden by default
deepak1556 pushed a commit that referenced this pull request Dec 11, 2018
matches the change in node.h in 88b4941, both are necessary because Chromium builds with symbols hidden by default
deepak1556 pushed a commit that referenced this pull request Dec 19, 2018
matches the change in node.h in 88b4941, both are necessary because Chromium builds with symbols hidden by default
deepak1556 pushed a commit that referenced this pull request Dec 19, 2018
matches the change in node.h in 88b4941, both are necessary because Chromium builds with symbols hidden by default
deepak1556 pushed a commit that referenced this pull request Dec 19, 2018
matches the change in node.h in 88b4941, both are necessary because Chromium builds with symbols hidden by default
deepak1556 pushed a commit that referenced this pull request Dec 25, 2018
matches the change in node.h in 88b4941, both are necessary because Chromium builds with symbols hidden by default
nitsakh pushed a commit that referenced this pull request Mar 18, 2019
matches the change in node.h in 88b4941, both are necessary because Chromium builds with symbols hidden by default
nitsakh pushed a commit that referenced this pull request Mar 18, 2019
matches the change in node.h in 88b4941, both are necessary because Chromium builds with symbols hidden by default
nitsakh pushed a commit that referenced this pull request Mar 18, 2019
matches the change in node.h in 88b4941, both are necessary because Chromium builds with symbols hidden by default
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants