summaryrefslogtreecommitdiff
path: root/src/node_process.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_process.h')
-rw-r--r--src/node_process.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/node_process.h b/src/node_process.h
index 35667ca1b9..865223c163 100644
--- a/src/node_process.h
+++ b/src/node_process.h
@@ -17,6 +17,15 @@ v8::Local<v8::Object> CreateEnvVarProxy(v8::Local<v8::Context> context,
// function, it is useful to bypass JavaScript entirely.
void RawDebug(const v8::FunctionCallbackInfo<v8::Value>& args);
+v8::MaybeLocal<v8::Value> ProcessEmit(Environment* env,
+ const char* event,
+ v8::Local<v8::Value> message);
+
+v8::Maybe<bool> ProcessEmitWarningGeneric(Environment* env,
+ const char* warning,
+ const char* type = nullptr,
+ const char* code = nullptr);
+
v8::Maybe<bool> ProcessEmitWarning(Environment* env, const char* fmt, ...);
v8::Maybe<bool> ProcessEmitDeprecationWarning(Environment* env,
const char* warning,