checker: stricter rules for C types; C aliases; sokol fixes

This commit is contained in:
Alexander Medvednikov 2023-10-14 18:31:37 +03:00
parent 5f1e6815cd
commit 545ee1ae23
27 changed files with 123 additions and 59 deletions

View file

@ -14,6 +14,9 @@ struct C.vm_statistics64_data_t {
external_page_count u32
}
[typedef]
struct C.host_t {}
fn C.mach_host_self() C.host_t
fn C.host_page_size(host C.host_t, out_page_size &C.vm_size_t) int
fn C.host_statistics64(host C.host_t, flavor int, host_info_out &int, host_info_outCnt &u32) int