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 — src: register external references of node-report for snapshot · ide/node@b9ed7e5

File tree

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

‎src/node_external_reference.h‎

Copy file name to clipboardExpand all lines: src/node_external_reference.h
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ class ExternalReferenceRegistry {
6565
V(performance) \
6666
V(process_methods) \
6767
V(process_object) \
68+
V(report) \
6869
V(task_queue) \
6970
V(url) \
7071
V(util) \
Collapse file

‎src/node_report_module.cc‎

Copy file name to clipboardExpand all lines: src/node_report_module.cc
+21Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#include "env.h"
22
#include "node_errors.h"
3+
#include "node_external_reference.h"
34
#include "node_internals.h"
45
#include "node_options.h"
56
#include "node_report.h"
@@ -196,6 +197,26 @@ static void Initialize(Local<Object> exports,
196197
SetReportOnUncaughtException);
197198
}
198199

200+
void RegisterExternalReferences(node::ExternalReferenceRegistry* registry) {
201+
registry->Register(WriteReport);
202+
registry->Register(GetReport);
203+
registry->Register(GetCompact);
204+
registry->Register(SetCompact);
205+
registry->Register(GetDirectory);
206+
registry->Register(SetDirectory);
207+
registry->Register(GetFilename);
208+
registry->Register(SetFilename);
209+
registry->Register(GetSignal);
210+
registry->Register(SetSignal);
211+
registry->Register(ShouldReportOnFatalError);
212+
registry->Register(SetReportOnFatalError);
213+
registry->Register(ShouldReportOnSignal);
214+
registry->Register(SetReportOnSignal);
215+
registry->Register(ShouldReportOnUncaughtException);
216+
registry->Register(SetReportOnUncaughtException);
217+
}
218+
199219
} // namespace report
200220

201221
NODE_MODULE_CONTEXT_AWARE_INTERNAL(report, report::Initialize)
222+
NODE_MODULE_EXTERNAL_REFERENCE(report, report::RegisterExternalReferences)

0 commit comments

Comments
0 (0)
You are visitor 01402792 — 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.