ILE C/C++ Programmer's Guide

Specifying the Linkage Convention

Use the #pragma linkage and #pragma argument directives to specify the linkage convention. See Table 19 and Accessing ILE C Procedures from Any ILE Program for more information on using these directives.

When specifying linkage conventions, consider the following C++ characteristics:

Figure 198. An ILE C++ Function Declared As an External Function




#ifdef __cplusplus
extern "C" {
#endif
function declarations
#ifdef __cplusplus
}
#endif
Note:
These statements are declared with C linkage.


[ Top of Page | Previous Page | Next Page | Table of Contents ]