stage2 解决类型重复导入的问题
This commit is contained in:
1 parent
51d408d524
commit
d10578d267
2 files changed
+17
-1
No files matched your search
@@ -31,8 +31,16 @@ typedef unsigned int u32;
|
||||
typedef signed int i32;
|
||||
typedef unsigned long long u64;
|
||||
typedef signed long long i64;
|
||||
|
||||
#ifndef SPL_USIZE
|
||||
typedef u64 usize;
|
||||
#define SPL_USIZE
|
||||
#endif
|
||||
|
||||
#ifndef SPL_ISIZE
|
||||
typedef i64 isize;
|
||||
#define SPL_ISIZE
|
||||
#endif
|
||||
/* 注:不定义 bool/true/false,避免与 C23 关键字冲突;生成代码用 u8 表示布尔。 */
|
||||
|
||||
/* ---- panic / trap ---- */
|
||||
|
||||
Reference in new issue
Block a user