mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 23:58:50 +00:00
Remove unneeded semicolons from the core library
This commit is contained in:
+24
-24
@@ -2,34 +2,34 @@ package c
|
||||
|
||||
import b "core:builtin"
|
||||
|
||||
CHAR_BIT :: 8;
|
||||
CHAR_BIT :: 8
|
||||
|
||||
bool :: b.bool;
|
||||
char :: b.u8;
|
||||
byte :: b.byte;
|
||||
schar :: b.i8;
|
||||
uchar :: b.u8;
|
||||
short :: b.i16;
|
||||
ushort :: b.u16;
|
||||
int :: b.i32;
|
||||
uint :: b.u32;
|
||||
bool :: b.bool
|
||||
char :: b.u8
|
||||
byte :: b.byte
|
||||
schar :: b.i8
|
||||
uchar :: b.u8
|
||||
short :: b.i16
|
||||
ushort :: b.u16
|
||||
int :: b.i32
|
||||
uint :: b.u32
|
||||
|
||||
long :: b.i32 when (ODIN_OS == "windows" || size_of(b.rawptr) == 4) else b.i64;
|
||||
ulong :: b.u32 when (ODIN_OS == "windows" || size_of(b.rawptr) == 4) else b.u64;
|
||||
long :: b.i32 when (ODIN_OS == "windows" || size_of(b.rawptr) == 4) else b.i64
|
||||
ulong :: b.u32 when (ODIN_OS == "windows" || size_of(b.rawptr) == 4) else b.u64
|
||||
|
||||
longlong :: b.i64;
|
||||
ulonglong :: b.u64;
|
||||
float :: b.f32;
|
||||
double :: b.f64;
|
||||
complex_float :: b.complex64;
|
||||
complex_double :: b.complex128;
|
||||
longlong :: b.i64
|
||||
ulonglong :: b.u64
|
||||
float :: b.f32
|
||||
double :: b.f64
|
||||
complex_float :: b.complex64
|
||||
complex_double :: b.complex128
|
||||
|
||||
#assert(size_of(b.uintptr) == size_of(b.int));
|
||||
|
||||
size_t :: b.uint;
|
||||
ssize_t :: b.int;
|
||||
ptrdiff_t :: b.int;
|
||||
uintptr_t :: b.uintptr;
|
||||
intptr_t :: b.int;
|
||||
size_t :: b.uint
|
||||
ssize_t :: b.int
|
||||
ptrdiff_t :: b.int
|
||||
uintptr_t :: b.uintptr
|
||||
intptr_t :: b.int
|
||||
|
||||
wchar_t :: b.u16 when (ODIN_OS == "windows") else b.u32;
|
||||
wchar_t :: b.u16 when (ODIN_OS == "windows") else b.u32
|
||||
|
||||
Reference in New Issue
Block a user