From 333924cce15e10e941ee63d6fcdc19d5cb95bb3c Mon Sep 17 00:00:00 2001 From: Ginger Bill Date: Thu, 8 Jun 2017 11:35:22 +0100 Subject: v0.3 Release --- core/_preload.odin | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'core') diff --git a/core/_preload.odin b/core/_preload.odin index 4e5d9e9e4..3426fd16a 100644 --- a/core/_preload.odin +++ b/core/_preload.odin @@ -30,10 +30,10 @@ TypeInfoEnumValue :: raw_union { } // NOTE(bill): This must match the compiler's CallingConvention :: enum { - ODIN = 0, + Odin = 0, C = 1, - STD = 2, - FAST = 3, + Std = 2, + Fast = 3, } TypeInfoRecord :: struct #ordered { @@ -326,7 +326,6 @@ __complex64_ne :: proc(a, b: complex64) -> bool #inline { return real(a) != re __complex128_eq :: proc(a, b: complex128) -> bool #inline { return real(a) == real(b) && imag(a) == imag(b); } __complex128_ne :: proc(a, b: complex128) -> bool #inline { return real(a) != real(b) || imag(a) != imag(b); } - __assert :: proc(file: string, line, column: int, msg: string) #inline { fmt.fprintf(os.stderr, "%s(%d:%d) Runtime assertion: %s\n", file, line, column, msg); -- cgit v1.2.3