Add Khronos license information to generated bindings

This commit is contained in:
Robin Voetter
2020-07-08 01:41:03 +02:00
parent f2edf4f674
commit 0928b25a53
3 changed files with 13 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ pub fn parseXml(backing_allocator: *Allocator, root: *xml.Element) !ParseResult
const allocator = &arena.allocator;
var reg = registry.Registry{
.copyright = root.getCharData("comment") orelse return error.InvalidRegistry,
.decls = try parseDeclarations(allocator, root),
.api_constants = try parseApiConstants(allocator, root),
.tags = try parseTags(allocator, root),