mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2025-01-08 21:47:57 +00:00
30 lines
1.2 KiB
C
30 lines
1.2 KiB
C
#pragma once
|
|
|
|
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
typedef uint8_t u8; ///< 8-bit unsigned integer
|
|
typedef uint16_t u16; ///< 16-bit unsigned integer
|
|
typedef uint32_t u32; ///< 32-bit unsigned integer
|
|
typedef uint64_t u64; ///< 64-bit unsigned integer
|
|
|
|
typedef int8_t s8; ///< 8-bit signed integer
|
|
typedef int16_t s16; ///< 16-bit signed integer
|
|
typedef int32_t s32; ///< 32-bit signed integer
|
|
typedef int64_t s64; ///< 64-bit signed integer
|
|
|
|
typedef volatile u8 vu8; ///< 8-bit volatile unsigned integer.
|
|
typedef volatile u16 vu16; ///< 16-bit volatile unsigned integer.
|
|
typedef volatile u32 vu32; ///< 32-bit volatile unsigned integer.
|
|
typedef volatile u64 vu64; ///< 64-bit volatile unsigned integer.
|
|
|
|
typedef volatile s8 vs8; ///< 8-bit volatile signed integer.
|
|
typedef volatile s16 vs16; ///< 16-bit volatile signed integer.
|
|
typedef volatile s32 vs32; ///< 32-bit volatile signed integer.
|
|
typedef volatile s64 vs64; ///< 64-bit volatile signed integer.
|
|
|
|
typedef __uint128_t u128; ///< 128-bit unsigned integer.
|
|
typedef __int128_t s128; ///< 128-bit signed integer.
|
|
typedef volatile u128 vu128; ///< 128-bit volatile unsigned integer.
|
|
typedef volatile s128 vs128; ///< 128-bit volatile signed integer.
|