summaryrefslogtreecommitdiff
path: root/src/node_errors.h
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2022-08-20 10:17:48 +0200
committerMichaël Zasso <targos@protonmail.com>2022-10-11 07:27:41 +0200
commitc9602ce2120de78fc0393f6a82cb00955834bba9 (patch)
treebcc59bda9caae856d43ae6c9359bc778e8ffba87 /src/node_errors.h
parent19a70c11e4aa69fb7a40598f06cf62e8aa4a4333 (diff)
downloadnode-new-c9602ce2120de78fc0393f6a82cb00955834bba9.tar.gz
src: use new v8::OOMErrorCallback API
PR-URL: https://github.com/nodejs/node/pull/44741 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/node_errors.h')
-rw-r--r--src/node_errors.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_errors.h b/src/node_errors.h
index 5cc385c743..68a9583581 100644
--- a/src/node_errors.h
+++ b/src/node_errors.h
@@ -21,7 +21,7 @@ void AppendExceptionLine(Environment* env,
[[noreturn]] void FatalError(const char* location, const char* message);
void OnFatalError(const char* location, const char* message);
-void OOMErrorHandler(const char* location, bool is_heap_oom);
+void OOMErrorHandler(const char* location, const v8::OOMDetails& details);
// Helpers to construct errors similar to the ones provided by
// lib/internal/errors.js.