Ada Programming/Libraries/Interfaces
From Wikibooks, open books for an open world
Contents |
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
[edit] Child Packages
- Interfaces.C
- Interfaces.CPP (GNAT)
- Interfaces.COBOL
- Interfaces.Fortran
- Interfaces.OS2Lib (GNAT, OS/2)
- Interfaces.OS2Lib.Errors (GNAT, OS/2)
- Interfaces.OS2Lib.Synchronization (GNAT, OS/2)
- Interfaces.OS2Lib.Threads (GNAT, OS/2)
- Interfaces.Packed_Decimal (GNAT)
- Interfaces.VxWorks (GNAT, VxWorks)
- Interfaces.VxWorks.IO (GNAT, VxWorks)
[edit] See also
[edit] Wikibook
- Ada Programming
- Ada Programming/Libraries
- Ada Programming/Libraries/Standard
- Ada Programming/Libraries/Ada
- Ada Programming/Libraries/System