OSF DCE Application Development Guide--Core Components
Interface Definition Language
For information on the semantics of pointers as operation parameters, refer to the
discussion of pointers in Section 17.14.7.
17.13 Basic Data Types
The following subsections describe the basic data types provided by IDL and the
treatment of international characters within IDL. The basic data types are as follows:
• Integer types
• Floating-point types
• The char type
• The boolean type
• The byte type
• The void type
• The handle_t type
• The error_status_t type
Section 17.14 describes the constructed data types that are built on the basic data types.
17.13.1 Integer Types
IDL provides four sizes of signed and unsigned integer data types, specified as follows:
int_size [int]
unsigned int_size [int ]
int_size unsigned [int ]
The int_size can take the following values:
hyper
long
short
small
The hyper types are represented in 64 bits. A long is 32 bits. A short is 16 bits. A
small is 8 bits.
The keyword int is optional and has no effect. The keyword unsigned denotes an
unsigned integer type; it can occur either before or after the size keyword.
124245 Tandem Computers Incorporated 17− 21