libnds で使用する為にカスタマイズされた基本型 [詳細]
#include <stdint.h>
マクロ定義 | |
#define | PACKED __attribute__ ((packed)) |
#define | packed_struct struct PACKED |
#define | ITCM_CODE __attribute__((section(".itcm"), long_call)) |
#define | DTCM_DATA __attribute__((section(".dtcm"))) |
#define | DTCM_BSS __attribute__((section(".sbss"))) |
#define | ALIGN(m) __attribute__((aligned (m))) |
#define | PACKED __attribute__ ((packed)) |
#define | packed_struct struct PACKED |
#define | GETRAW(name) (name) |
#define | GETRAWSIZE(name) ((int)name##_size) |
#define | GETRAWEND(name) ((int)name##_end) |
#define | FALSE 0 |
#define | BIT(n) (1 << (n)) |
型定義 | |
typedef uint8_t | uint8 |
typedef uint16_t | uint16 |
typedef uint32_t | uint32 |
typedef uint64_t | uint64 |
typedef int8_t | int8 |
typedef int16_t | int16 |
typedef int32_t | int32 |
typedef int64_t | int64 |
typedef float | float32 |
typedef double | float64 |
typedef volatile uint8_t | vuint8 |
typedef volatile uint16_t | vuint16 |
typedef volatile uint32_t | vuint32 |
typedef volatile uint64_t | vuint64 |
typedef volatile int8_t | vint8 |
typedef volatile int16_t | vint16 |
typedef volatile int32_t | vint32 |
typedef volatile int64_t | vint64 |
typedef volatile float32 | vfloat32 |
typedef volatile float64 | vfloat64 |
typedef uint8_t | byte |
typedef uint8_t | u8 |
typedef uint16_t | u16 |
typedef uint32_t | u32 |
typedef uint64_t | u64 |
typedef int8_t | s8 |
typedef int16_t | s16 |
typedef int32_t | s32 |
typedef int64_t | s64 |
typedef volatile u8 | vu8 |
typedef volatile u16 | vu16 |
typedef volatile u32 | vu32 |
typedef volatile u64 | vu64 |
typedef volatile s8 | vs8 |
typedef volatile s16 | vs16 |
typedef volatile s32 | vs32 |
typedef volatile s64 | vs64 |
typedef void(* | IntFn )(void) |
typedef void(* | VoidFn )(void) |
typedef void(* | fp )(void) |
列挙型 | |
enum | bool { false, true } |
libnds で使用する為にカスタマイズされた基本型
enum bool |
C++ compatible bool for C