The basic data types have the mappings shown in the table below.
Integer types use the C99
fixed size integer types as provided
by the stdint.h
standard header. Users do not have to include
this header: the template mapping generation procedure output the
appropriate #include
directive along with the mappings for the
integer types.
IDL
| C
|
---|---|
boolean
| bool
|
unsigned short
| uint16_t
|
short
| int16_t
|
unsigned long
| uint32_t
|
long
| int32_t
|
unsigned long long
| uint64_t
|
long long
| int64_t
|
float
| float
|
double
| double
|
char
| char
|
octet
| uint8_t
|
any
| type any not implemented yet
|
Table: Basic data types mappings in C