C data types and EGL primitive types

The following table shows the mapping between C data types, I4GL data types, and EGL primitive types for use in a Library part with the stereotype nativeLibrary.
C data types Equivalent I4GL data type Equivalent EGL primitive type
char CHAR or CHARACTER UNICODE(1)
char NCHAR UNICODE(size)
char NVARCHAR STRING
char VARCHAR STRING
int INT or INTEGER INT
short SMALLINT SMALLINT
ifx_int8_t BIGINT BIGINT
dec_t DEC or DECIMAL(p,s,) or NUMERIC(p) DECIMAL(p)
dec_t MONEY MONEY
double FLOAT FLOAT
float SMALLFLOAT SMALLFLOAT
loc_t TEXT CLOB
loc_t BYTE BLOB
int DATE DATE
dtime_t DATETIME TIMESTAMP
intvl_t INTERVAL INTERVAL

Feedback