mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +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) {
|
print_type :: #force_no_inline proc "contextless" (ti: ^Type_Info) {
|
||||||
if ti == nil {
|
if ti == nil {
|
||||||
print_string("nil")
|
print_string("nil")
|
||||||
|
|||||||
Reference in New Issue
Block a user