M
Modular•10mo ago
Tuatini

Call dynamic library functions

Hey everyone, does Mojo supports calling dynamic libraries function coded in C (.so)? If yes, is there any guide for that out there? Thanks!
3 Replies
Michael K
Michael K•10mo ago
You want to look at the sys.ffi module . there are some examples of using them in this repo.
ffi | Modular Docs
Implements a foreign functions interface (FFI).
Tuatini
TuatiniOP•10mo ago
awesome thanks 🙂
Tuatini
TuatiniOP•10mo ago
GitHub
mojo-ffi/mojo-call-c at ffi-demo · ihnorton/mojo-ffi
Contribute to ihnorton/mojo-ffi development by creating an account on GitHub.
Want results from more Discord servers?
Add your server