Merge pull request #1406 from terickson001/schar

add schar to core:c and core:c/libc
This commit is contained in:
gingerBill
2022-01-05 00:50:24 +00:00
committed by GitHub
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -3,6 +3,8 @@ package c
import builtin "core:builtin"
char :: builtin.u8 // assuming -funsigned-char
schar :: builtin.i8
short :: builtin.i16
int :: builtin.i32
long :: builtin.i32 when (ODIN_OS == "windows" || size_of(builtin.rawptr) == 4) else builtin.i64
+2
View File
@@ -3,6 +3,8 @@ package libc
import "core:c"
char :: c.char // assuming -funsigned-char
schar :: c.schar
short :: c.short
int :: c.int
long :: c.long