I’m stumbling through wrapping an interface to a C library using Clang.jl.
Im hoping someone can. give me some hints about the best way to wrap methods passing and returning GMP mpq_t types, or arrays of them.
I found an old thread which discusses manually using ccall with mpq_t (Finalizer only works with mutable structs?) but I was hoping given the age, and the obvious importance of mpq_t that someone would have an example I can use as a template.