node test.js
thread '<unnamed>' panicked at src/define.rs:176:7:
In the latest ffi-rs version, please use ffi-rs.arrayConstrutor to describe array type
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5
zsh: abort node test.js
Current ffi-rs version
Current Node.js arch
Descibe your problem in detail
在 mac 平台想要调用 CGEventGetLocation 获取光标位置,报错:
What's your expect result
希望返回正确值
The reproduction repo address