From 0501330607b000e0913994e633b76410e1fd162c Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Wed, 24 Oct 2018 02:17:10 -0400 Subject: Add libdeno.shared global shared ArrayBuffer. --- libdeno/deno.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'libdeno/deno.h') 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); -- cgit v1.2.3