summaryrefslogtreecommitdiff
path: root/deno2/deno_internal.h
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-06-13 19:38:22 +0200
committerRyan Dahl <ry@tinyclouds.org>2018-06-14 14:19:17 +0200
commit4ac67cf3435b3e15f95fadc20c98e37abf706ea4 (patch)
tree651b18c568e6ca8130d3d37de60a6a44e12e855b /deno2/deno_internal.h
parentf97216609d1705a21ddbe6ca3efb04817f026fc3 (diff)
Demo protobufs in deno2.
Adds deno_set_response() to allow stack allocated responses.
Diffstat (limited to 'deno2/deno_internal.h')
-rw-r--r--deno2/deno_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/deno2/deno_internal.h b/deno2/deno_internal.h
index 2ecd5d1f4..0c3d4fd77 100644
--- a/deno2/deno_internal.h
+++ b/deno2/deno_internal.h
@@ -11,6 +11,7 @@ extern "C" {
// deno_s = Wrapped Isolate.
struct deno_s {
v8::Isolate* isolate;
+ const v8::FunctionCallbackInfo<v8::Value>* currentArgs;
std::string last_exception;
v8::Persistent<v8::Function> sub;
v8::Persistent<v8::Context> context;