![]() |
Public API 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 long long | longlong |
Type to pass to cs_snprintf() as an argument to the "%lld" format specifier. | |
typedef unsigned long long | ulonglong |
Type to pass to cs_snprintf() as an argument to the "%llu" format specifier. | |
typedef unsigned int | csTicks |
A time value measured in milliseconds (1/1000 of a second). | |
typedef unsigned int | uint |
Shortcut for default unsigned int. | |
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 uint8_t | uint8 |
typedef int8_t | int8 |
typedef uint16_t | uint16 |
typedef int16_t | int16 |
typedef uint32_t | uint32 |
typedef int32_t | int32 |
typedef uint64_t | uint64 |
typedef int64_t | int64 |
Commonly used types and macros.
Definition in file cstypes.h.