![]() |
Public API Reference |
#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). More... | |
| typedef char | int8 |
| signed 8-bit integer (-128..127). More... | |
| typedef unsigned short | uint16 |
| unsigned 16-bit integer (0..65 535). More... | |
| typedef short | int16 |
| signed 16-bit integer (-32 768..32 767). More... | |
| typedef unsigned int | uint32 |
| unsigned 32-bit integer (0..4 294 967 295). More... | |
| typedef int | int32 |
| signed 32-bit integer (-2 147 483 648..2 147 483 647). More... | |
Shortcuts for normal C types | |
| typedef unsigned int | uint |
| Default unsigned int. More... | |
Typedefs | |
| typedef uint32 | CS_ID |
| Used for uniquely generated id numbers XXX: remove this sometime. More... | |
| typedef unsigned int | csTicks |
| Time in milli (1/1000) seconds XXX: should be moved to sysfunc.h. More... | |
Definition in file cstypes.h.