forked from mirror/vulkan-zig
default initialize packed flag structs to 0
This commit is contained in:
@@ -417,7 +417,12 @@ fn parseEnumAlias(elem: *xml.Element) !?registry.Declaration {
|
||||
return null;
|
||||
}
|
||||
|
||||
fn parseEnums(allocator: Allocator, root: *xml.Element, api: registry.Api, decls: *std.ArrayListUnmanaged(registry.Declaration)) !void {
|
||||
fn parseEnums(
|
||||
allocator: Allocator,
|
||||
root: *xml.Element,
|
||||
api: registry.Api,
|
||||
decls: *std.ArrayListUnmanaged(registry.Declaration),
|
||||
) !void {
|
||||
var it = root.findChildrenByTag("enums");
|
||||
while (it.next()) |enums| {
|
||||
const name = enums.getAttribute("name") orelse return error.InvalidRegistry;
|
||||
|
||||
Reference in New Issue
Block a user