napi-rs/crates/napi/src
Patrick Pilch 486ce35c82
fix(napi): napi_create_async_work incorrect argument (napi-rs#1392) (#1396)
The third argument to `napi_create_async_work` (async_resource_name)
should be a `napi_value` that corresponds to a null-terminated utf-8
string.

This resolves errors running Next.js with GraalVM.

oracle/graal#5582
oracle/graal#5581
2022-12-16 13:59:15 +08:00
..
bindgen_runtime fix(napi): typed arrays ref shouldn't use offset. (#1376) 2022-11-30 20:54:13 +08:00
js_values feat(napi): add threadsafe deferred values (#1306) 2022-10-03 13:00:48 +08:00
async_cleanup_hook.rs Introduce #[napi] procedural macro to automation development boilerplate (#696) 2021-09-23 01:29:09 +08:00
async_work.rs fix(napi): napi_create_async_work incorrect argument (napi-rs#1392) (#1396) 2022-12-16 13:59:15 +08:00
call_context.rs refactor(napi): remove compatible Either struct 2021-11-25 17:53:41 +08:00
cleanup_env.rs Introduce #[napi] procedural macro to automation development boilerplate (#696) 2021-09-23 01:29:09 +08:00
env.rs feat(napi): add threadsafe deferred values (#1306) 2022-10-03 13:00:48 +08:00
error.rs chore(napi): including type message in error message (#1350) 2022-10-24 00:16:30 +08:00
lib.rs feat(napi): add threadsafe deferred values (#1306) 2022-10-03 13:00:48 +08:00
status.rs Introduce #[napi] procedural macro to automation development boilerplate (#696) 2021-09-23 01:29:09 +08:00
task.rs feat(napi): implement AsyncTask with AbortSignal support 2021-11-06 13:51:54 +08:00
threadsafe_function.rs fix(napi): segfault when ThreadsafeFunction's callback closure captures data (#1281) 2022-08-20 22:40:26 +08:00
tokio_runtime.rs fix(napi): return the join handle when spawning a tokio task. (#1351) 2022-11-15 11:50:25 +08:00
value_type.rs feat(napi): BigInt codegen support 2021-11-11 16:18:25 +08:00
version.rs fix(napi): correct the CString usage 2021-11-15 16:55:13 +08:00