diff options
| author | Michaël Zasso <targos@protonmail.com> | 2022-08-20 10:17:48 +0200 |
|---|---|---|
| committer | Michaël Zasso <targos@protonmail.com> | 2022-10-11 07:27:41 +0200 |
| commit | c9602ce2120de78fc0393f6a82cb00955834bba9 (patch) | |
| tree | bcc59bda9caae856d43ae6c9359bc778e8ffba87 /src/node_errors.h | |
| parent | 19a70c11e4aa69fb7a40598f06cf62e8aa4a4333 (diff) | |
| download | node-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.h | 2 |
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. |
