2.10. Appendix B: Interface to Other Languages

The information in this section relates to Annex M paragraphs 74 to 80.

Q: M.(74)
Q: M.(75)
Q: M.(76)
Q: M.(77)
Q: M.(78)
Q: M.(79)
Q: M.(80)

Q: M.(74)

Implementation-defined convention names. See B.1(11).

A: The following convention names are supported

Table 2-3. Convention Names

Name Meaning
Ada Ada
Asm Assembly language
Assembler Assembly language
C C
COBOL COBOL
CPP C++
C_Pass_By_Copy Treated like C, except for record types
Default Treated the same as C
External Treated the same as C
Fortran Fortran
Intrinsic Intrinsic

In addition, all otherwise unrecognized convention names are also treated as being synonymous with convention C.

Q: M.(75)

The meaning of link names. See B.1(36).

A: Link names are the actual names used by the linker.

Q: M.(76)

The manner of choosing link names when neither the link name nor the address of an imported or exported entity is specified. See B.1(36).

A: The default linker name is that which would be assigned by the relevant external language, interpreting the Ada name as being in all lower case letters.

Q: M.(77)

The effect of pragma Linker_Options. See B.1(37).

A: The string passed to Linker_Options is presented uninterpreted as an argument to the link command.

Q: M.(78)

The contents of the visible part of package Interfaces and its language-defined descendants. See B.2(1).

A: See files with prefix i- in the distributed library.

Q: M.(79)

Implementation-defined children of package Interfaces. The contents of the visible part of package Interfaces. See B.2(11).

A: See files with prefix i- in the distributed library.

Q: M.(80)

The types Floating, Long_Floating, Binary, Long_Binary, Decimal_ Element, and COBOL_Character; and the initialization of the variables Ada_To_COBOL and COBOL_To_Ada, in Interfaces.COBOL. See B.4(50).

A:

Floating

Float

Long_Floating

(Floating) Long_Float

Binary

Integer

Long_Binary

Long_Long_Integer

Decimal_Element

Character

COBOL_Character

Character

For initialization, see the file i-cobol.ads in the distributed library.