diff options
Diffstat (limited to 'core/libdeno/deno.h')
-rw-r--r-- | core/libdeno/deno.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/libdeno/deno.h b/core/libdeno/deno.h index 0bdd31f50..946978e3b 100644 --- a/core/libdeno/deno.h +++ b/core/libdeno/deno.h @@ -110,6 +110,8 @@ void deno_execute(Deno* d, void* user_data, const char* js_filename, // If a JS exception was encountered, deno_last_exception() will be non-NULL. void deno_respond(Deno* d, void* user_data, deno_op_id op_id, deno_buf buf); +void deno_throw_exception(Deno* d, const char* text); + // consumes zero_copy void deno_pinned_buf_delete(deno_pinned_buf* buf); |