summaryrefslogtreecommitdiff
path: root/core/libdeno/internal.h
diff options
context:
space:
mode:
authorKevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com>2019-08-31 12:16:30 -0700
committerRyan Dahl <ry@tinyclouds.org>2019-08-31 15:16:30 -0400
commitfdd4252d49ceb022761b92d953d24672ab67ab91 (patch)
tree2c4e3517339bef1ead257c427f6073dcbc7db604 /core/libdeno/internal.h
parent07c3c76d0d7585dc49ffde79d38c406ca9f6e7ca (diff)
Add window.queueMicrotask (#2844)
Diffstat (limited to 'core/libdeno/internal.h')
-rw-r--r--core/libdeno/internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/libdeno/internal.h b/core/libdeno/internal.h
index 50e85017e..f3789fcc3 100644
--- a/core/libdeno/internal.h
+++ b/core/libdeno/internal.h
@@ -156,6 +156,7 @@ void ErrorToJSON(const v8::FunctionCallbackInfo<v8::Value>& args);
void Shared(v8::Local<v8::Name> property,
const v8::PropertyCallbackInfo<v8::Value>& info);
void MessageCallback(v8::Local<v8::Message> message, v8::Local<v8::Value> data);
+void QueueMicrotask(const v8::FunctionCallbackInfo<v8::Value>& args);
static intptr_t external_references[] = {
reinterpret_cast<intptr_t>(Print),
reinterpret_cast<intptr_t>(Recv),
@@ -164,6 +165,7 @@ static intptr_t external_references[] = {
reinterpret_cast<intptr_t>(ErrorToJSON),
reinterpret_cast<intptr_t>(Shared),
reinterpret_cast<intptr_t>(MessageCallback),
+ reinterpret_cast<intptr_t>(QueueMicrotask),
0};
static const deno_buf empty_buf = {nullptr, 0};