cocos2d-x 3.0
- 首页 - 相关页面 - 模块 - 命名空间 - - 文件 -
宏定义 - 图1 宏定义 - 图2)
- 文件列表 - 文件成员

全部)) 命名空间) 文件) 函数) 变量) 类型定义) 枚举) 枚举值) 属性) 友元) 宏定义)))

宏定义 | 类型定义

stdint.h 文件参考

#include "CCPlatformConfig.h"

#include

#include

## 宏定义
#define _W64
#define INT8_MIN ((int8_t)_I8_MIN)
#define INT8_MAX _I8_MAX
#define INT16_MIN ((int16_t)_I16_MIN)
#define INT16_MAX _I16_MAX
#define INT32_MIN ((int32_t)_I32_MIN)
#define INT32_MAX _I32_MAX
#define INT64_MIN ((int64_t)_I64_MIN)
#define INT64_MAX _I64_MAX
#define UINT8_MAX _UI8_MAX
#define UINT16_MAX _UI16_MAX
#define UINT32_MAX _UI32_MAX
#define UINT64_MAX _UI64_MAX
#define INT_LEAST8_MIN INT8_MIN
#define INT_LEAST8_MAX INT8_MAX
#define INT_LEAST16_MIN INT16_MIN
#define INT_LEAST16_MAX INT16_MAX
#define INT_LEAST32_MIN INT32_MIN
#define INT_LEAST32_MAX INT32_MAX
#define INT_LEAST64_MIN INT64_MIN
#define INT_LEAST64_MAX INT64_MAX
#define UINT_LEAST8_MAX UINT8_MAX
#define UINT_LEAST16_MAX UINT16_MAX
#define UINT_LEAST32_MAX UINT32_MAX
#define UINT_LEAST64_MAX UINT64_MAX
#define INT_FAST8_MIN INT8_MIN
#define INT_FAST8_MAX INT8_MAX
#define INT_FAST16_MIN INT16_MIN
#define INT_FAST16_MAX INT16_MAX
#define INT_FAST32_MIN INT32_MIN
#define INT_FAST32_MAX INT32_MAX
#define INT_FAST64_MIN INT64_MIN
#define INT_FAST64_MAX INT64_MAX
#define UINT_FAST8_MAX UINT8_MAX
#define UINT_FAST16_MAX UINT16_MAX
#define UINT_FAST32_MAX UINT32_MAX
#define UINT_FAST64_MAX UINT64_MAX
#define INTPTR_MIN INT32_MIN
#define INTPTR_MAX INT32_MAX
#define UINTPTR_MAX UINT32_MAX
#define INTMAX_MIN INT64_MIN
#define INTMAX_MAX INT64_MAX
#define UINTMAX_MAX UINT64_MAX
#define PTRDIFF_MIN _I32_MIN
#define PTRDIFF_MAX _I32_MAX
#define SIG_ATOMIC_MIN INT_MIN
#define SIG_ATOMIC_MAX INT_MAX
#define SIZE_MAX _UI32_MAX
#define WCHAR_MIN 0
#define WCHAR_MAX _UI16_MAX
#define WINT_MIN 0
#define WINT_MAX _UI16_MAX
#define INT8_C(val) val##i8
#define INT16_C(val) val##i16
#define INT32_C(val) val##i32
#define INT64_C(val) val##i64
#define UINT8_C(val) val##ui8
#define UINT16_C(val) val##ui16
#define UINT32_C(val) val##ui32
#define UINT64_C(val) val##ui64
#define INTMAX_C INT64_C
#define UINTMAX_C UINT64_C
## 类型定义
typedef signed char int8_t
typedef signed short int16_t
typedef signed int int32_t
typedef unsigned char uint8_t
typedef unsigned short uint16_t
typedef unsigned int uint32_t
typedef signed int64 int64_t
typedef unsigned int64 uint64_t
typedef int8_t int_least8_t
typedef int16_t int_least16_t
typedef int32_t int_least32_t
typedef int64_t int_least64_t
typedef uint8_t uint_least8_t
typedef uint16_t uint_least16_t
typedef uint32_t uint_least32_t
typedef uint64_t uint_least64_t
typedef int8_t int_fast8_t
typedef int16_t int_fast16_t
typedef int32_t int_fast32_t
typedef int64_t int_fast64_t
typedef uint8_t uint_fast8_t
typedef uint16_t uint_fast16_t
typedef uint32_t uint_fast32_t
typedef uint64_t uint_fast64_t
typedef signed int intptr_t
typedef unsigned int uintptr_t
typedef int64_t intmax_t
typedef uint64_t uintmax_t

宏定义说明

#define _W64

#define INT16_C ( val) val##i16

#define INT16_MAX _I16_MAX

#define INT16_MIN ((int16_t)_I16_MIN)

#define INT32_C ( val) val##i32

#define INT32_MAX _I32_MAX

#define INT32_MIN ((int32_t)_I32_MIN)

#define INT64_C ( val) val##i64

#define INT64_MAX _I64_MAX

#define INT64_MIN ((int64_t)_I64_MIN)

#define INT8_C ( val) val##i8

#define INT8_MAX _I8_MAX

#define INT8_MIN ((int8_t)_I8_MIN)

#define INT_FAST16_MAX INT16_MAX

#define INT_FAST16_MIN INT16_MIN

#define INT_FAST32_MAX INT32_MAX

#define INT_FAST32_MIN INT32_MIN

#define INT_FAST64_MAX INT64_MAX

#define INT_FAST64_MIN INT64_MIN

#define INT_FAST8_MAX INT8_MAX

#define INT_FAST8_MIN INT8_MIN

#define INT_LEAST16_MAX INT16_MAX

#define INT_LEAST16_MIN INT16_MIN

#define INT_LEAST32_MAX INT32_MAX

#define INT_LEAST32_MIN INT32_MIN

#define INT_LEAST64_MAX INT64_MAX

#define INT_LEAST64_MIN INT64_MIN

#define INT_LEAST8_MAX INT8_MAX

#define INT_LEAST8_MIN INT8_MIN

#define INTMAX_C INT64_C

#define INTMAX_MAX INT64_MAX

#define INTMAX_MIN INT64_MIN

#define INTPTR_MAX INT32_MAX

#define INTPTR_MIN INT32_MIN

#define PTRDIFF_MAX _I32_MAX

#define PTRDIFF_MIN _I32_MIN

#define SIG_ATOMIC_MAX INT_MAX

#define SIG_ATOMIC_MIN INT_MIN

#define SIZE_MAX _UI32_MAX

#define UINT16_C ( val) val##ui16

#define UINT16_MAX _UI16_MAX

#define UINT32_C ( val) val##ui32

#define UINT32_MAX _UI32_MAX

#define UINT64_C ( val) val##ui64

#define UINT64_MAX _UI64_MAX

#define UINT8_C ( val) val##ui8

#define UINT8_MAX _UI8_MAX

#define UINT_FAST16_MAX UINT16_MAX

#define UINT_FAST32_MAX UINT32_MAX

#define UINT_FAST64_MAX UINT64_MAX

#define UINT_FAST8_MAX UINT8_MAX

#define UINT_LEAST16_MAX UINT16_MAX

#define UINT_LEAST32_MAX UINT32_MAX

#define UINT_LEAST64_MAX UINT64_MAX

#define UINT_LEAST8_MAX UINT8_MAX

#define UINTMAX_C UINT64_C

#define UINTMAX_MAX UINT64_MAX

#define UINTPTR_MAX UINT32_MAX

#define WCHAR_MAX _UI16_MAX

#define WCHAR_MIN 0

#define WINT_MAX _UI16_MAX

#define WINT_MIN 0

类型定义说明

typedef signed short int16_t

typedef signed int int32_t

typedef signed __int64 int64_t

typedef signed char int8_t

typedef int16_t int_fast16_t

typedef int32_t int_fast32_t

typedef int64_t int_fast64_t

typedef int8_t int_fast8_t

typedef int16_t int_least16_t

typedef int32_t int_least32_t

typedef int64_t int_least64_t

typedef int8_t int_least8_t

typedef int64_t intmax_t

typedef signed int intptr_t

typedef unsigned short uint16_t

typedef unsigned int uint32_t

typedef unsigned __int64 uint64_t

typedef unsigned char uint8_t

typedef uint16_t uint_fast16_t

typedef uint32_t uint_fast32_t

typedef uint64_t uint_fast64_t

typedef uint8_t uint_fast8_t

typedef uint16_t uint_least16_t

typedef uint32_t uint_least32_t

typedef uint64_t uint_least64_t

typedef uint8_t uint_least8_t

typedef uint64_t uintmax_t

typedef unsigned int uintptr_t