About the 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.