o
odinpkg.dev
packages / binding / odin-bindings-to-c

odin-bindings-to-c

8365a95binding archived

How to bind to a C library from Odin

No license · updated 2 years ago

How to bind to a C library from Odin

Source code from what I showed on this video: https://www.youtube.com/watch?v=BgBinHwJwgo

In my_lib folder there is a C library. If you compile that C library (it comes precompiled for Windows), then you can use the provided Odin bindings to run that C code from an Odin program.