diff options
| author | gingerBill <bill@gingerbill.org> | 2024-07-14 23:09:58 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-07-14 23:09:58 +0100 |
| commit | 1c3240b6b5eecebfdbf3da191ab3b459a8df7044 (patch) | |
| tree | 31036b8c981638a2ac706ade69dafdbd277369d2 | |
| parent | 7673d478b6d54f8bb0c28517c0b9d4ad9b32b43f (diff) | |
Add `#force_no_inline`
| -rw-r--r-- | core/reflect/types.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/reflect/types.odin b/core/reflect/types.odin index c92d39410..4f0674dc8 100644 --- a/core/reflect/types.odin +++ b/core/reflect/types.odin @@ -493,7 +493,7 @@ write_type_builder :: proc(buf: ^strings.Builder, ti: ^Type_Info) -> int { n, _ := write_type_writer(strings.to_writer(buf), ti) return n } -write_type_writer :: proc(w: io.Writer, ti: ^Type_Info, n_written: ^int = nil) -> (n: int, err: io.Error) { +write_type_writer :: #force_no_inline proc(w: io.Writer, ti: ^Type_Info, n_written: ^int = nil) -> (n: int, err: io.Error) { defer if n_written != nil { n_written^ += n } |