Is there any known workaround for using external call with non-libc functions?
I know that it's possible with libc, but I haven't figured out a way to use other C libraries.
5 Replies
you can use ffi.DLHandle like dlopen, then use get_function with the fn signature as the type parameter
Ah, you mean like this?
Congrats @🥀Azazelle🥀, you just advanced to level 2!
no that stuff isn't built yet. you have to specify the shared library. it works like dlopen/dlsym
Yeah, thanks for the reply, and apologies for my former dumbassery