aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/_preload.odin7
1 files changed, 3 insertions, 4 deletions
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);