Python alternative to ctypes, can't figure how to convert a code
Hello,
I am trying to convert a Python ctypes code to Deno using FFI, but can't know why its not working
I am looking for a bit of help, any would be gladly welcomed !
For now the code just hang when calling
whisper.whisper_full_default_params
2 Replies
Hmm. It's hard to say what is going on as I don't know whisper (library?) nor the ctypes library you're using here.
For ctypes you can probably look at https://github.com/denosaurs/byte_type but idk what whisper does so I don't know what that wants to achieve
GitHub
GitHub - denosaurs/byte_type: 😋 A small helper module for working w...
😋 A small helper module for working with different raw types in javascript - GitHub - denosaurs/byte_type: 😋 A small helper module for working with different raw types in javascript