CrystalSpace

Public API Reference

cstypes.h File Reference

Commonly used types and macros. More...

#include "csplatform.h"
#include <float.h>
#include <stdint.h>
#include <inttypes.h>
#include <stddef.h>
#include <wchar.h>
#include <wctype.h>

Go to the source code of this file.

Typedefs

Other types



typedef int64 csMicroTicks
 A time value measured in microseconds (1/1000000 of a second).
typedef unsigned int csTicks
 A time value measured in milliseconds (1/1000 of a second).
typedef long long longlong
 Type to pass to cs_snprintf() as an argument to the "%lld" format specifier.
typedef unsigned int uint
 Shortcut for default unsigned int.
typedef unsigned long long ulonglong
 Type to pass to cs_snprintf() as an argument to the "%llu" format specifier.

Specific sized types

These types should be used ONLY when you need a variable of an explicit number of bits.

For all other cases, you should use normal char, short, int, long, etc., types since they are treated as "natural" types and will generally have better performance characteristics than the explicitly-sized types. Use the explicitly-sized types sparingly.



#define CONST_INT64(x)   x ## LL
#define CONST_UINT64(x)   x ## ULL
typedef int16_t int16
typedef int32_t int32
typedef int64_t int64
typedef int8_t int8
typedef uint16_t uint16
typedef uint32_t uint32
typedef uint64_t uint64
typedef uint8_t uint8

Detailed Description

Commonly used types and macros.

Definition in file cstypes.h.


Generated for Crystal Space 2.1 by doxygen 1.6.1