1
0
forked from mirror/vulkan-zig

provide defaults for struct fields vulkan considers optional

This commit is contained in:
ashpil
2023-01-28 19:29:25 -05:00
parent 2a631c4695
commit 0873a35392
4 changed files with 50 additions and 12 deletions

View File

@@ -263,6 +263,7 @@ pub fn parseMember(allocator: Allocator, xctok: *XmlCTokenizer, ptrs_optional: b
.field_type = decl.decl_type,
.bits = null,
.is_buffer_len = false,
.is_optional = false,
};
if (try xctok.peek()) |tok| {