mirror of
https://git.proxmox.com/git/wasi-libc
synced 2025-07-12 22:58:16 +00:00
gen-headers: make handle output consistient with prior
This commit is contained in:
parent
fcbf8f40ea
commit
e2bdce89ea
@ -374,7 +374,7 @@ fn print_union(ret: &mut String, name: &Id, u: &UnionDatatype) {
|
||||
}
|
||||
|
||||
fn print_handle(ret: &mut String, name: &Id, h: &HandleDatatype) {
|
||||
ret.push_str(&format!("typedef int __wasi_{}_t;", ident_name(name)));
|
||||
ret.push_str(&format!("typedef int __wasi_{}_t;\n\n", ident_name(name)));
|
||||
|
||||
ret.push_str(&format!(
|
||||
"_Static_assert(sizeof(__wasi_{}_t) == {}, \"witx calculated size\");\n",
|
||||
|
Loading…
Reference in New Issue
Block a user