C declaration composer for the GNU Compiler Collection
cdecl for GCC is a
Lua module that composes C declarations from a C source file using the
Lua plugin for GCC. The
module generates C99 function, variable and type declarations, and
supports the GCC extensions for attributes
and vector
types. The module may be used to generate C library bindings for a
foreign function interface, e.g., LuaJIT FFI. The module is
named after cdecl, a program
which converts C declarations from a human-readable phrase to C code,
and vice versa.