Replace usage of inline proc with #force_inline proc in the core library
This commit is contained in:
1 parent
41b854f192
commit
aa93305015
26 files changed
+182
-182
No files matched your search
+1
-1
@@ -545,7 +545,7 @@ wprint_typeid :: proc(w: io.Writer, id: typeid) -> int {
|
||||
|
||||
|
||||
_parse_int :: proc(s: string, offset: int) -> (result: int, new_offset: int, ok: bool) {
|
||||
is_digit :: inline proc(r: byte) -> bool { return '0' <= r && r <= '9' }
|
||||
is_digit :: #force_inline proc(r: byte) -> bool { return '0' <= r && r <= '9' }
|
||||
|
||||
new_offset = offset;
|
||||
for new_offset <= len(s) {
|
||||
|
||||
Reference in new issue
Block a user