Dear All, I'm trying to wrap the BEAGLE library for use in Julia:
https://github.com/beagle-dev/beagle-lib I've used SWIG in the past, which works fine for Python: https://github.com/beagle-dev/beagle-lib/tree/master/examples/swig_python and I'm currently hacking my way through R: https://github.com/sdwfrost/beagle-lib/tree/master/examples/swig_r The API isn't big at all, but does require me to initialise some pointers to structs, which are filled in by reference. A toy example in C is here: https://github.com/sdwfrost/beagle-lib/blob/master/examples/standalone/hellobeagle/src/hello.cpp I've looked through the docs in Julia, as well as Clang.jl (I've made some wrappers previously using an old build, although I can't get Clang.jl working at the moment), and StrPack.jl, and I was wondering whether anyone had any pointers (no pun intended) to the current best practice for wrapping a library like this? I work best from examples, so any suggestions for a library with a similar API would be much appreciated. Best Simon
