abi
abi17mo ago

deno_bindgen type error: deno-ts(2345)

Anyone else getting this with deno_bindgen?
Argument of type 'bigint' is not assignable to parameter of type 'PointerObject'.deno-ts(2345)
$ deno --version
deno 1.31.1 (release, aarch64-apple-darwin)
v8 11.0.226.13
typescript 4.9.4
$ deno --version
deno 1.31.1 (release, aarch64-apple-darwin)
v8 11.0.226.13
typescript 4.9.4
5 Replies
abi
abi17mo ago
Okay, I guess it's due to this change: https://deno.com/blog/v1.31#breaking-change-in-ffi-api I'll create an issue for deno_bindgen.
Deno Blog
Deno 1.31: package.json support
Deno 1.31 adds support for package.json, stabilizes Node-API, Deno.Command API, adds node:v8 module, and more.
ioB
ioB17mo ago
GitHub
fix: breaking ffi changes by load1n9 · Pull Request #118 · denoland...
Deno pointers are no longer bigints, these changes fix the breaking generated code
abi
abi17mo ago
Ah, thanks, got it @iobdas Don't mean to bother you, but it looks like your PR is not being checked because some CLA needs to be signed
ioB
ioB17mo ago
Not my PR, @load1n9 could you sign the CLA?
abi
abi17mo ago
Ah, sorry