summaryrefslogtreecommitdiff
path: root/src/node_internals.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_internals.h')
-rw-r--r--src/node_internals.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/node_internals.h b/src/node_internals.h
index e07cb9d6d3..a08ab45aff 100644
--- a/src/node_internals.h
+++ b/src/node_internals.h
@@ -94,27 +94,6 @@ inline v8::Local<TypeName> PersistentToLocal(
v8::Isolate* isolate,
const v8::Persistent<TypeName>& persistent);
-// Call with valid HandleScope and while inside Context scope.
-v8::Local<v8::Value> MakeCallback(Environment* env,
- v8::Local<v8::Object> recv,
- const char* method,
- int argc = 0,
- v8::Local<v8::Value>* argv = nullptr);
-
-// Call with valid HandleScope and while inside Context scope.
-v8::Local<v8::Value> MakeCallback(Environment* env,
- v8::Local<v8::Object> recv,
- v8::Local<v8::String> symbol,
- int argc = 0,
- v8::Local<v8::Value>* argv = nullptr);
-
-// Call with valid HandleScope and while inside Context scope.
-v8::Local<v8::Value> MakeCallback(Environment* env,
- v8::Local<v8::Value> recv,
- v8::Local<v8::Function> callback,
- int argc = 0,
- v8::Local<v8::Value>* argv = nullptr);
-
// Convert a struct sockaddr to a { address: '1.2.3.4', port: 1234 } JS object.
// Sets address and port properties on the info object and returns it.
// If |info| is omitted, a new object is returned.