The callingConvention property defines a method of passing data from an EGL library to a single, locally running DLL written in the C language.
The value for this property comes from the CallingConventionKind enumeration. The only meaningful value for this enumeration here is "I4GL", where a parameter stack is used to pass values to C functions and to return values from C functions. For details of parameter types, see "Mapping to C data types" in this topic.
When calling a C language function from an EGL program, use the following table to map variable types:
EGL primitive type | Equivalent C data type |
---|---|
UNICODE, STRING | char |
INT | int |
SMALLINT | short |
BIGINT | ifx_int8_t |
DECIMAL, MONEY | dec_t |
FLOAT | double |
SMALLFLOAT | float |
BLOB, CLOB | loc_t |
DATE | int |
TIMESTAMP | dtime_t |
INTERVAL | intvl_t |