ash/generator
Marijn Suijten 92084df65f
generator: Wrap _as_c_str() getter for possibly-pointers in Option (#860)
While this function is already marked `unsafe` to represent cases where
an invalid pointer might be dereferenced, it should at least be obvious
to the caller that there is a real chance for `NULL` pointers in these
`CStr` getters, which will now be returned as `None`.  This function
won't be used in `Debug` now as the dereference operation is still
`unsafe`.

The `_as_c_str()` getters for static arrays is left untouched, as the
data is read directly from the known-valid struct here.
2024-01-12 00:08:38 +01:00
..
src generator: Wrap _as_c_str() getter for possibly-pointers in Option (#860) 2024-01-12 00:08:38 +01:00
Vulkan-Headers@9d27c893cd Update Vulkan-Headers to 1.3.271 (#816) 2023-11-28 15:05:27 +01:00
Cargo.toml build(deps): update syn requirement from 1.0 to 2.0 (#834) 2023-11-27 09:33:50 +01:00