mem: typed allocation helpers + drop bare malloc/free (Phase 2.2); resolve 0119 as |>-contract clarification
This commit is contained in:
@@ -90,7 +90,7 @@ tap_frame :: () {
|
||||
}
|
||||
|
||||
main :: () -> void {
|
||||
plat : *UIKitPlatform = xx malloc(size_of(UIKitPlatform));
|
||||
plat : *UIKitPlatform = xx libc_malloc(size_of(UIKitPlatform));
|
||||
plat.init("SxUIKitPlatform", 0, 0);
|
||||
plat.run_frame_loop(closure(tap_frame));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user