It's a Common Lisp FFI for http://libsdl.org/ (SDL2).
The alternative FFI bindings are partial, while this one already includes the CFFI bindings for the various subsystems of SDL2. It is also based on vanilla CFFI, without any extra dependencies.
Written by . The primary communication channel is the facilities on the project's GitHub page.
The project uses CFFI/C2FFI. Its ASDF extension does two things:
If needed it can invoke c2ffi to process a C header file and emit a json spec file that contains every detail needed for a given platform to generate its FFI. Yours truely has run this phase and checked in the resulting spec files into the c2ffi-spec/ directory, so that users don't need to have a working c2ffi executable and the SDL dev headers installed.
It generates the needed CFFI forms into a lisp file next to the spec file and continues as if it was just another lisp file written by hand. (These lisp files could also be checked in the repo, but for now they are not.)
It contains a complete FFI for
sdl-image.h. At the time of writing it requires a very recent CFFI. There's not much yet that lispify the API, but the CFFI binding part is complete.
- Attila Lendvai
- BSD or Bugroff