forked from mirror/vulkan-zig
make basetypes with no clear type foreign
This allows the user to override them to the proper type
This commit is contained in:
@@ -168,7 +168,7 @@ fn parseBaseType(allocator: Allocator, ty: *xml.Element) !registry.Declaration {
|
|||||||
// macros, which is why this part is not built into the xml/c parser.
|
// macros, which is why this part is not built into the xml/c parser.
|
||||||
return registry.Declaration{
|
return registry.Declaration{
|
||||||
.name = name,
|
.name = name,
|
||||||
.decl_type = .{ .external = {} },
|
.decl_type = .{ .foreign = .{ .depends = &.{} } },
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user