mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-13 06:43:35 +00:00
Add @(optimization_mode="size") to runtime.print_type
This commit is contained in:
@@ -257,6 +257,8 @@ print_typeid :: #force_no_inline proc "contextless" (id: typeid) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@(optimization_mode="size")
|
||||
print_type :: #force_no_inline proc "contextless" (ti: ^Type_Info) {
|
||||
if ti == nil {
|
||||
print_string("nil")
|
||||
|
||||
Reference in New Issue
Block a user