My favorites | Sign in
Project Logo
                
Search
for
Updated May 25, 2008 by toukoaozaki
TYPE_DEFINITION  
Definition of types used in WGAL

WGAL Type Definition

WGAL type names follow WGAL naming convention. For further information, please refer to WGAL Naming Convention.

Basic Types

The following table shows basic types of WGAL and their characteristics.

WGAL type definition data type C-language type remarks
WGALVoid void
WGALByte 8-bit unsigned integer unsigned char a single byte
WGALChar 16-bit integer wchar_t a single character
WGALBool 32-bit integer int boolean value (TRUE or FALSE)
WGALInt8 8-bit integer signed char
WGALInt16 16-bit integer short
WGALInt32 32-bit integer int
WGALUInt8 8-bit unsigned integer unsigned char
WGALUInt16 16-bit unsigned integer unsigned short
WGALUInt32 32-bit unsigned integer unsigned int
WGALFloat 32-bit floating-point float
WGALDouble 64-bit floating-point double
WGALColor 32-bit unsigned integer unsigned int 32-bit ARGB color

The following table shows a complete list of predefined basic pointer types.

WGAL type definition data type C-language type remarks
WGALString pointer to 16-bit integer wchar_t * a sequence of characters
WGALCString pointer to constant 16-bit integer const wchar_t * a sequence of read-only characters

Other pointer types were discarded due to naming convention changes. Use * instead.

Other Types

Function Pointers

In WGAL, function pointers are mainly used for passing callbacks. For complete list of predefined function pointer types, please refer to WGAL Function Pointer Types.

Structures

WGAL utilizes a number of structure types which represent logical types or groups of parameters. For complete list of predefined structures, please refer to WGAL Structure Types.


Sign in to add a comment
Hosted by Google Code