summaryrefslogtreecommitdiff
path: root/src/node.h
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2019-10-23 23:21:02 +0200
committerAnna Henningsen <anna@addaleax.net>2019-11-05 20:31:31 +0100
commit7fc1d00204f33d3b1af0e865791fd4e38b1ab457 (patch)
tree950f301e7262ac864208531395ccc1db5e4118bc /src/node.h
parent237be2ed9e25e4d56deaf3935be0c217913e5a75 (diff)
downloadnode-new-7fc1d00204f33d3b1af0e865791fd4e38b1ab457.tar.gz
src: remove unimplemented method from node.h
This function was not actually available during any part of the Node 12 release line because it had been removed earlier (likely accidentally). Refs: https://github.com/nodejs/node/pull/27220 PR-URL: https://github.com/nodejs/node/pull/30098 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Diffstat (limited to 'src/node.h')
-rw-r--r--src/node.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/node.h b/src/node.h
index 872e0a811a..ea5d8a20a4 100644
--- a/src/node.h
+++ b/src/node.h
@@ -286,13 +286,6 @@ class NODE_EXTERN MultiIsolatePlatform : public v8::Platform {
void* data) = 0;
};
-// Set up some Node.js-specific defaults for `params`, in particular
-// the ArrayBuffer::Allocator if it is provided, memory limits, and
-// possibly a code event handler.
-NODE_EXTERN void SetIsolateCreateParams(v8::Isolate::CreateParams* params,
- ArrayBufferAllocator* allocator
- = nullptr);
-
enum IsolateSettingsFlags {
MESSAGE_LISTENER_WITH_ERROR_LEVEL = 1 << 0,
DETAILED_SOURCE_POSITIONS_FOR_PROFILING = 1 << 1