FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

src: expose `LookupAndCompile` with parameters by codebytere · Pull Request #45142 · nodejs/node · GitHub

/ node Public

src: expose LookupAndCompile with parameters - #45142

Closed
codebytere wants to merge 1 commit into
nodejs:mainfrom
codebytere:lookup-and-compile-wrapper
Closed

src: expose LookupAndCompile with parameters#45142
codebytere wants to merge 1 commit into
nodejs:mainfrom
codebytere:lookup-and-compile-wrapper

Conversation

Copy link
Copy Markdown
Member

Refs #44018.

This PR exposes a version of LookupAndCompile that takes parameters instead of detecting them based on module IDs.

Electron currently maintains a wrapper to LookupAndCompile, which specifically requires parameters because we pass our own modules to LookupAndCompile in several places:

and therefore need to be able to able to expose the ability to set that.

I do, however, see that Node.js recently added back a version of CompileAndCall which is effectively the same as our own CompileAndCall wrapper, so if it would be better to modify that to allow parameters I would also be happy to take that path.

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/startup

codebytere added the embedding Issues and PRs related to embedding Node.js in another project. label Oct 24, 2022
nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. labels Oct 24, 2022
codebytere changed the title src: expose LookupAndCompile with parameters src: expose LookupAndCompile with parameters Oct 24, 2022
Comment thread src/node_builtins.cc Outdated
Comment thread src/node_builtins.h Outdated
codebytere force-pushed the lookup-and-compile-wrapper branch from d4d1c3a to 5f9feee Compare October 26, 2022 20:04
codebytere requested a review from addaleax October 26, 2022 20:04

joyeecheung left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Still LGTM

codebytere force-pushed the lookup-and-compile-wrapper branch from 5f9feee to 3b0d0e1 Compare November 8, 2022 11:21
nodejs deleted a comment from nodejs-github-bot Nov 8, 2022

Copy link
Copy Markdown
Collaborator

nodejs deleted a comment from nodejs-github-bot Nov 8, 2022
codebytere force-pushed the lookup-and-compile-wrapper branch from 3b0d0e1 to 1fc633a Compare November 8, 2022 14:22

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

aduh95 commented May 11, 2024

Copy link
Copy Markdown
Contributor

This needs rebase.

Copy link
Copy Markdown
Member Author

Superseded by #53886

codebytere closed this Jul 17, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ Issues and PRs that require attention from people who are familiar with C++. embedding Issues and PRs related to embedding Node.js in another project. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants


Back | FazBrowse Home | New Git URL