Ada Programming/Libraries/Interfaces


      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 Packages

      • Interfaces.C
        • Interfaces.C.Extensions (GNAT)
        • Interfaces.C.Pointers
        • Interfaces.C.Streams (GNAT)
        • Interfaces.C.Strings
      • 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)
      ↑Jump back a section

      Read in another language

      This page is available in 1 language

      Last modified on 24 October 2009, at 21:01