> On Mar 3, 2017, at 11:24 AM, Mike Gran <spk...@yahoo.com> wrote: > >> On Friday, March 3, 2017 11:18 AM, Amirouche <amirou...@hypermove.net> wrote: > >>> Now that the C preprocessor in NYACC/C99 is more robust I could start >>> looking at generating some sort of “FFI helper” functionality. I have >>> been thinking about this problem on and off for a while. Completely >>> automating things might be tough, but a “helper” would probably go a long >>> way. > > >> Are you aware of scheme-bytestructures [0] that's what we are using> in >> guile-git. If you target that API to wrap C structs, it would be helpful. > > SWIG used to work for Guile. It was a rather complete solution to > the wrapping problem.
I had forgotten about that. Seems targeted to 1.X but might be worth trying to autogenerate swig template or equivalent to start.