diff options
| author | Richard Qin <richard.qin.x@gmail.com> | 2025-12-30 12:54:28 +0800 |
|---|---|---|
| committer | Richard Qin <richard.qin.x@gmail.com> | 2025-12-30 12:54:28 +0800 |
| commit | 2b4ef64e45c7b6ebb9d05993c72e70f75ee25bb7 (patch) | |
| tree | 5bc182fc915684fdaaa47bf1977738e2cc7dd990 /include | |
| parent | 4f717032f2fdb0eecfcc8220e263fc5deced7a2c (diff) | |
| download | lume-2b4ef64e45c7b6ebb9d05993c72e70f75ee25bb7.tar.gz lume-2b4ef64e45c7b6ebb9d05993c72e70f75ee25bb7.tar.xz | |
feat(types): defined a type alias
Diffstat (limited to 'include')
| -rw-r--r-- | include/common/types.h | 35 |
1 files changed, 20 insertions, 15 deletions
diff --git a/include/common/types.h b/include/common/types.h index 7403a54..8924699 100644 --- a/include/common/types.h +++ b/include/common/types.h @@ -1,22 +1,27 @@ #pragma once -typedef unsigned char uint8_t; -typedef unsigned short uint16_t; -typedef unsigned int uint32_t; -typedef unsigned long long uint64_t; +typedef unsigned char uint8_t; +typedef unsigned short uint16_t; +typedef unsigned int uint32_t; +typedef unsigned long long uint64_t; -typedef signed char int8_t; -typedef signed short int16_t; -typedef signed int int32_t; -typedef signed long long int64_t; +typedef signed char int8_t; +typedef signed short int16_t; +typedef signed int int32_t; +typedef signed long long int64_t; -typedef uint64_t size_t; -typedef uint64_t uintptr_t; - -typedef uint64_t uint64; -typedef uint32_t uint32; -typedef uint8_t uint8; +typedef uint64_t size_t; +typedef uint64_t uintptr_t; +typedef uint64_t uint64; +typedef uint32_t uint32; +typedef uint16_t uint16; +typedef uint8_t uint8; typedef unsigned int uint; typedef unsigned short ushort; -typedef unsigned char uchar;
\ No newline at end of file +typedef unsigned char uchar; + +typedef int64_t int64; +typedef int32_t int32; +typedef int16_t int16; +typedef int8_t int8;
\ No newline at end of file |
