Open main menu

Wikibooks β

Ada Programming/Libraries/Interfaces

< Ada Programming‎ | Libraries

Ada Lovelace 1838.jpg

The Interfaces package helps in interfacing with other programming languages. Ada is one of the few languages where interfacing with other languages is part of the language standard. The language standard defines the interfaces for C, Cobol and Fortran. Of course any implementation might define further interfaces — GNAT for example defines an interface to C++.

Interfacing with other languages is actually provided by pragma Export, pragma Import and pragma Convention


Child PackagesEdit

See alsoEdit