src: add ability to look up platform based on `Environment*` · nodejs/node@9b84ee6 · GitHub
Skip to content

Commit 9b84ee6

Browse files
committed
src: add ability to look up platform based on Environment*
This should eventually remove any necessity to use the global-state `GetMainThreadMultiIsolatePlatform()`. Backport-PR-URL: #35241 PR-URL: #30467 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
1 parent a770a35 commit 9b84ee6

2 files changed

Lines changed: 14 additions & 1 deletion

File tree

src/api/environment.cc

Lines changed: 8 additions & 0 deletions

src/node.h

Lines changed: 6 additions & 1 deletion

0 commit comments

Comments
 (0)