82ca24663f
* generator: Untangle mismatched parameter/return fn signatures in types With function typedefs for commands having some elements filtered out (by name) if they were previously defined already, combined with unfiltered arrays containing the parameter sets and return type for _all_ commands expanded together in `quote!` macros the wrong array elements get combined resulting in incorrect signatures. No-one seems to use function pointer types (but we should!) which is why this has gone unnoticed for some time. * generator: Derive clone for function pointers instead of generating it * generator: Regroup token generation per command instead of across arrays This complements the previous commit by avoiding mismatches in array content altogether, instead of expanding multiple arrays within a single `#()*` quote expression and assuming they all contain the same data in the same order, reducing cognitive overhead while reading this code. |
||
---|---|---|
.. | ||
src | ||
Vulkan-Headers@e1d8c4931d | ||
Cargo.toml |