Hi folks,
I'm interested in the c2ffi portion of cffi and whether I can help.
When might I want to use this in place of cl-autowrap?
Are there open tasks for this feature? I saw the comments say that it is "not very extensive" what kinds of things are missing?
Regards
hi
I'm interested in the c2ffi portion of cffi and whether I can help.
i've just updated the wording of the comments at the beginning of this file:
https://github.com/cffi/cffi/blob/master/src/c2ffi/generator.lisp
there's not much to do that i'm aware of, unless you want to venture into some of those TODO's, or you find a bug.
When might I want to use this in place of cl-autowrap?
cl-autowrap only uses the CFFI backends and replaces the surface API of CFFI with its own, and while it has interesting features, not everyone wants to depart from CFFI.
in contrast to that cffi/c2ffi is a small thing that generates vanilla CFFI definitions.
When might I want to use this in place of cl-autowrap?
cl-autowrap only uses the CFFI backends and replaces the surface API of CFFI with its own, and while it has interesting features, not everyone wants to depart from CFFI.
in contrast to that cffi/c2ffi is a small thing that generates vanilla CFFI definitions.
this should really go into the doc, but meanwhile here are two examples that use it:
https://github.com/attila-lendvai/hu.dwim.sdl https://github.com/attila-lendvai/hu.dwim.bluez