tromey / emacs-ffi

FFI for Emacs
99 stars 17 forks source link

take type-alias and conversion ideas from CFFI #2

Open tromey opened 8 years ago

tromey commented 8 years ago

CFFI has a nice approach to type aliases and providing generic functions so that lisp->c conversions can be defined for these aliases.

It would be nice to add this to emacs-ffi.

This would allow things like declaring a :c-string type that works in a natural way.