diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-10-24 02:17:10 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-10-24 14:52:38 -0700 |
commit | 0501330607b000e0913994e633b76410e1fd162c (patch) | |
tree | 218195aecec88c437cd99b93404ffe8b6e4eb7bb /libdeno/deno.h | |
parent | 61cda728816b5916180f22d977ba741e2fadc8d9 (diff) |
Add libdeno.shared global shared ArrayBuffer.
Diffstat (limited to 'libdeno/deno.h')
-rw-r--r-- | libdeno/deno.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libdeno/deno.h b/libdeno/deno.h index c29bfc0bb..96d1298c1 100644 --- a/libdeno/deno.h +++ b/libdeno/deno.h @@ -29,10 +29,11 @@ void deno_init(); const char* deno_v8_version(); void deno_set_v8_flags(int* argc, char** argv); -Deno* deno_new(deno_buf snapshot, deno_recv_cb cb); +Deno* deno_new(deno_buf snapshot, deno_buf shared, deno_recv_cb cb); -Deno* deno_new_snapshotter(deno_recv_cb cb, const char* js_filename, - const char* js_source, const char* source_map); +Deno* deno_new_snapshotter(deno_buf shared, deno_recv_cb cb, + const char* js_filename, const char* js_source, + const char* source_map); deno_buf deno_get_snapshot(Deno* d); void deno_delete(Deno* d); |