On 10/3/19 6:10 PM, Matt Wette wrote:
The FFI Helper in nyacc (https://savannah.nongnu.org/projects/nyacc) provides the functionality of swig. You can try that. I'd be interested in how you like that compared to swig.
I found cpp-defs may be necessary for gsl: (define-ffi-module (gsl-multifit) #:pkg-config "gsl" #:cpp-defs '("_Float128=long double") #:include '("gsl/gsl_multifit.h")) I don't know where _Float128 comes from. The "long double" is a guess. Matt