Examples of the use of ccall in Julia
Juliadocs https://lawless-m.github.io/Czoo.jl/
C code https://github.com/lawless-m/Czoo.jl/blob/main/src/czoo.c
I also spawned some of the helper functions out into a separate package
https://github.com/lawless-m/CCallHelp.jl
TODO
Include the necessary BinaryBuilder code to build the library
https://docs.binarybuilder.org/stable/
And produce a JLL
And also how to package a JLL for a third party library