The following table shows the mapping between C data types, and EGL primitive types for use in a Library part with the stereotype nativeLibrary.
| C data types | Equivalent EGL primitive type | |
|---|---|---|
| char | UNICODE(1) | |
| char | UNICODE(size) | |
| char | STRING | |
| char | STRING | |
| int | INT | |
| short | SMALLINT | |
| ifx_int8_t | BIGINT | |
| dec_t | DECIMAL(p) | |
| dec_t | MONEY | |
| double | FLOAT | |
| float | SMALLFLOAT | |
| loc_t | CLOB | |
| loc_t | BLOB | |
| int | DATE | |
| dtime_t | TIMESTAMP | |
| intvl_t | INTERVAL |