Next: , Previous: Creating Sample Bodies Using gnatstub, Up: Top


25 Generating Ada Bindings for C and C++ headers

GNAT now comes with a new experimental binding generator for C and C++ headers which is intended to do 95% of the tedious work of generating Ada specs from C or C++ header files. Note that this still is a work in progress, not designed to generate 100% correct Ada specs.

The code generated is using the Ada 2005 syntax, which makes it easier to interface with other languages than previous versions of Ada.