GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — build,win: fix dll build · nodejs/node@b8c3319

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src
    • node_builtins.cc
    • node_builtins.h
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/node_builtins.cc‎

Copy file name to clipboardExpand all lines: src/node_builtins.cc
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ BuiltinLoader::BuiltinLoader()
6464
#endif // HAVE_AMARO
6565
}
6666

67+
std::ranges::keys_view<std::ranges::ref_view<const BuiltinSourceMap>>
68+
BuiltinLoader::GetBuiltinIds() const {
69+
return std::views::keys(*source_.read());
70+
}
71+
6772
bool BuiltinLoader::Exists(const char* id) {
6873
auto source = source_.read();
6974
return source->find(id) != source->end();
Collapse file

‎src/node_builtins.h‎

Copy file name to clipboardExpand all lines: src/node_builtins.h
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,9 @@ class NODE_EXTERN_PRIVATE BuiltinLoader {
127127

128128
void CopySourceAndCodeCacheReferenceFrom(const BuiltinLoader* other);
129129

130-
[[nodiscard]] auto GetBuiltinIds() const {
131-
return std::views::keys(*source_.read());
132-
}
130+
[[nodiscard]] std::ranges::keys_view<
131+
std::ranges::ref_view<const BuiltinSourceMap>>
132+
GetBuiltinIds() const;
133133

134134
void SetEagerCompile() { should_eager_compile_ = true; }
135135

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.