diff options
author | Rongjian Zhang <pd4d10@gmail.com> | 2019-11-24 07:40:40 +0300 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2019-12-09 12:23:06 +0300 |
commit | 851f3135aba0fdbf0fc89f1ef346adf438f4c399 (patch) | |
tree | cfea5f1aa81bdd5746031f4c18a78e420a1442c7 /src/node_process.h | |
parent | 55a270b5837b2c4a2a63fc6a7ef4dcd85856a3bd (diff) |
module: add warnings for experimental flags
PR-URL: https://github.com/nodejs/node/pull/30617
Fixes: https://github.com/nodejs/node/issues/30600
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Diffstat (limited to 'src/node_process.h')
-rw-r--r-- | src/node_process.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/node_process.h b/src/node_process.h index 5db7b004d6f..ad86b449f95 100644 --- a/src/node_process.h +++ b/src/node_process.h @@ -27,6 +27,8 @@ v8::Maybe<bool> ProcessEmitWarningGeneric(Environment* env, const char* code = nullptr); v8::Maybe<bool> ProcessEmitWarning(Environment* env, const char* fmt, ...); +v8::Maybe<bool> ProcessEmitExperimentalWarning(Environment* env, + const char* warning); v8::Maybe<bool> ProcessEmitDeprecationWarning(Environment* env, const char* warning, const char* deprecation_code); |