diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-06-13 19:38:22 +0200 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-06-14 14:19:17 +0200 |
commit | 4ac67cf3435b3e15f95fadc20c98e37abf706ea4 (patch) | |
tree | 651b18c568e6ca8130d3d37de60a6a44e12e855b /deno2/snapshot_creator.cc | |
parent | f97216609d1705a21ddbe6ca3efb04817f026fc3 (diff) |
Demo protobufs in deno2.
Adds deno_set_response() to allow stack allocated responses.
Diffstat (limited to 'deno2/snapshot_creator.cc')
-rw-r--r-- | deno2/snapshot_creator.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deno2/snapshot_creator.cc b/deno2/snapshot_creator.cc index 1cd39cce5..10ddc1500 100644 --- a/deno2/snapshot_creator.cc +++ b/deno2/snapshot_creator.cc @@ -136,8 +136,8 @@ int main(int argc, char** argv) { auto snapshot_in_blob = ReadFile(snapshot_in_bin); deno_init(); - auto snapshot_blob = - deno::MakeSnapshot(&natives_blob, &snapshot_in_blob, js_fn, js_source.c_str()); + auto snapshot_blob = deno::MakeSnapshot(&natives_blob, &snapshot_in_blob, + js_fn, js_source.c_str()); StartupDataCppWriter nativesWriter("natives", natives_out_cc, natives_blob); nativesWriter.Write(); |