cstypes.h File Reference
More...
#include "platform.h"
#include <float.h>
Go to the source code of this file.
Specific sized types. | |
The following types should be used whenever you need a variable of a specific size (in bits).
If these types are already defined by system headers for a particular platform, then define CS_BUILTIN_SIZED_TYPES to avoid duplicate type definition here. | |
typedef unsigned char | uint8 |
unsigned 8-bit integer (0..255) | |
typedef char | int8 |
signed 8-bit integer (-128..127) | |
typedef unsigned short | uint16 |
unsigned 16-bit integer (0..65 535) | |
typedef short | int16 |
signed 16-bit integer (-32 768..32 767) | |
typedef unsigned int | uint32 |
unsigned 32-bit integer (0..4 294 967 295) | |
typedef int | int32 |
signed 32-bit integer (-2 147 483 648..2 147 483 647) | |
Shortcuts for normal C types | |
typedef unsigned int | uint |
Default unsigned int. | |
Typedefs | |
typedef uint32 | CS_ID |
Used for uniquely generated id numbers XXX: remove this sometime. | |
typedef unsigned int | csTicks |
A time value measured in milliseconds (1/1000 of a second). |
Detailed Description
Definition in file cstypes.h.
Generated for Crystal Space by doxygen 1.2.18