diff options
| author | gingerBill <bill@gingerbill.org> | 2017-11-04 00:16:54 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2017-11-04 00:16:54 +0000 |
| commit | 6bc5584addffa20639d5bc7dcc789f76a298e1e5 (patch) | |
| tree | d7b0816c7b2a1d70bd0e7f90ed576a9bf6c8fb3f /core/_preload.odin | |
| parent | 121f0185d6923c84d64ee75326d15013eb5d1fe0 (diff) | |
Fix fmt printing `uintptr` type
Diffstat (limited to 'core/_preload.odin')
| -rw-r--r-- | core/_preload.odin | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/core/_preload.odin b/core/_preload.odin index 7cc2f07e0..92458572d 100644 --- a/core/_preload.odin +++ b/core/_preload.odin @@ -38,6 +38,7 @@ Type_Info_Enum_Value :: union { rune, i8, i16, i32, i64, i128, int, u8, u16, u32, u64, u128, uint, + uintptr, f32, f64, }; @@ -687,13 +688,13 @@ __string_decode_rune :: inline proc "contextless" (s: string) -> (rune, int) { return utf8.decode_rune(s); } -__bounds_check_error_loc :: proc "contextless" (using loc := #caller_location, index, count: int) { +__bounds_check_error_loc :: inline proc "contextless" (using loc := #caller_location, index, count: int) { __bounds_check_error(file_path, int(line), int(column), index, count); } -__slice_expr_error_loc :: proc "contextless" (using loc := #caller_location, low, high, max: int) { +__slice_expr_error_loc :: inline proc "contextless" (using loc := #caller_location, low, high, max: int) { __slice_expr_error(file_path, int(line), int(column), low, high, max); } -__substring_expr_error_loc :: proc "contextless" (using loc := #caller_location, low, high: int) { +__substring_expr_error_loc :: inline proc "contextless" (using loc := #caller_location, low, high: int) { __substring_expr_error(file_path, int(line), int(column), low, high); } |