ash/generator/src
Marijn Suijten e8b369db7d
generator: Turn c_void-returning functions into Rust () (#362)
`c_void` is not the same as Rust's void type, `()`, making function
pointers like `PFN_vkFreeFunction` pretty much impossible to implement
without casting. Instead of just turning this into `-> ()`, remove the
return type altogether, and add some asserts to prevent types of this
kind from being accidentally generated.
2021-02-28 16:50:24 +01:00
..
bin Split vk.rs into multiple files (#286) 2020-04-19 19:12:17 +02:00
lib.rs generator: Turn c_void-returning functions into Rust () (#362) 2021-02-28 16:50:24 +01:00