make basetypes with no clear type foreign

This allows the user to override them to the proper type
This commit is contained in:
Robin Voetter
2022-10-07 01:35:26 +02:00
parent a21db9e2b5
commit 135fc51b3b

View File

@@ -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 = &.{} } },
}; };
} }
} }