-
Originally provided this in the issue #121
1. Requring node-ffi from within a worker thread myself results in a segfault when closing the thread at end of work as well.
```
#0 0x00007ffff402d8…
-
_Originally posted by @githoniel in https://github.com/node-ffi/node-ffi/issues/488#issuecomment-407275622_
The `Ewallet.dll` file depends on ` lib-usb. dll`. How can I use ffi.Library to introduce…
-
node-ffi-napi currently embeds libffi-3.0.11 which predates Windows on ARM (AArch64).
To support Windows on ARM64, node-ffi-napi will probably need two individual updates (in this order):
(1) upd…
-
**Describe the bug**
From Deno - [Unstable Feature Flags](https://docs.deno.com/runtime/reference/cli/unstable_flags/#--unstable):
> [!WARNING]
> **--unstable is deprecated - use granular flags i…
-
```sh
Platform: macos aarch64
Version: 1.44.4
Args: ["/Users/marvinh/dev/denoland/deno/target/debug/deno", "run", "--unstable-ffi", "--unstable-fs", "--unstable-webgpu", "--node-modules-dir", "-A",…
-
Hi! How can I call FFI functions without blocking the main thread?
Library
```rust
#[no_mangle]
pub unsafe extern "C" fn listen(addr: *const c_char, cb: fn()) {
loop {
// Blocking code
}
}
``…
-
When migrating a library from ffi over to ffi-napi it seems that callbacks aren't working: they cause a segmentation fault. Using ffi-napi 2.4.6
This is the relevant backtrace with gdb:
```
(gd…
-
**Node version**: v14.16.0 and v15.13.0 (tried on both)
did a `npm install tglib`
then made a `index.js` and required the module then ran with `node index.js`
then it threw error
```
#
# F…
-
* **I'm submitting a ...**
[x] bug report
* **Summary**
voicemeeter connector wont work on:
Windows: Node.js >= v18
Linux or macOS: Node.js >= v21
due to ffi-napi not being able to be installe…
-
Essentially supporting https://github.com/node-ffi/node-ffi directly
(`require('ffi')`)