diff options
Diffstat (limited to 'libdeno/deno.h')
-rw-r--r-- | libdeno/deno.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libdeno/deno.h b/libdeno/deno.h index e0ba63153..324f09a95 100644 --- a/libdeno/deno.h +++ b/libdeno/deno.h @@ -36,6 +36,9 @@ typedef struct { deno_recv_cb recv_cb; // Maps to libdeno.send() calls. } deno_config; +// Create a new deno isolate. +// Warning: If config.will_snapshot is set, deno_get_snapshot() must be called +// or an error will result. Deno* deno_new(deno_config config); // Generate a snapshot. The resulting buf can be used with deno_new. |