summaryrefslogtreecommitdiff
path: root/src/node_internals.h
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2017-05-21 19:39:52 +0200
committerAnna Henningsen <anna@addaleax.net>2017-05-27 11:52:29 +0200
commita86323dc647d9689af5ff0838b20b440d0abb986 (patch)
treee8523f3e6092a20a6303b8192b6cd3229ef74d50 /src/node_internals.h
parent9f610b5e265549f048ef00cf521a0d36771c9574 (diff)
downloadandroid-node-v8-a86323dc647d9689af5ff0838b20b440d0abb986.tar.gz
android-node-v8-a86323dc647d9689af5ff0838b20b440d0abb986.tar.bz2
android-node-v8-a86323dc647d9689af5ff0838b20b440d0abb986.zip
async_hooks: implement C++ embedder API
PR-URL: https://github.com/nodejs/node/pull/13142 Reviewed-By: Matthew Loring <mattloring@google.com> Reviewed-By: Andreas Madsen <amwebdk@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
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.