mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 20:29:11 +00:00
Demo protobufs in deno2.
Adds deno_set_response() to allow stack allocated responses.
This commit is contained in:
parent
f97216609d
commit
4ac67cf343
10 changed files with 88 additions and 35 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue