mirror of
https://github.com/vlang/v.git
synced 2025-09-14 23:12:33 +03:00
checker: stricter rules for C types; C aliases; sokol fixes
This commit is contained in:
parent
5f1e6815cd
commit
545ee1ae23
27 changed files with 123 additions and 59 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue