| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent bef78a2 commit 6fdf025
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -65,6 +65,7 @@ class ExternalReferenceRegistry { | |||
| 65 | 65 | V(performance) \ | |
| 66 | 66 | V(process_methods) \ | |
| 67 | 67 | V(process_object) \ | |
| 68 | + V(report) \ | ||
| 68 | 69 | V(task_queue) \ | |
| 69 | 70 | V(url) \ | |
| 70 | 71 | V(util) \ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,6 @@ | |||
| 1 | 1 | #include "env.h" | |
| 2 | 2 | #include "node_errors.h" | |
| 3 | + #include "node_external_reference.h" | ||
| 3 | 4 | #include "node_internals.h" | |
| 4 | 5 | #include "node_options.h" | |
| 5 | 6 | #include "node_report.h" | |
@@ -196,6 +197,26 @@ static void Initialize(Local<Object> exports, | |||
| 196 | 197 | SetReportOnUncaughtException); | |
| 197 | 198 | } | |
| 198 | 199 | ||
| 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 | + | ||
| 199 | 219 | } // namespace report | |
| 200 | 220 | ||
| 201 | 221 | NODE_MODULE_CONTEXT_AWARE_INTERNAL(report, report::Initialize) | |
| 222 | + NODE_MODULE_EXTERNAL_REFERENCE(report, report::RegisterExternalReferences) | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments