tools/spec: override the windows header with our own version

This commit is contained in:
Danny Robson 2018-08-27 14:21:44 +10:00
parent cf6ba5e462
commit 9dfc951193

View File

@ -675,6 +675,7 @@ if __name__ == '__main__':
target = "parse_%s" % node.tag target = "parse_%s" % node.tag
globals()[target](reg, node) globals()[target](reg, node)
reg.types['windows.h'].name = 'cruft/util/win32/windows.hpp'
reg.types['void*'] = placeholder('void*') reg.types['void*'] = placeholder('void*')
reg.types['nullptr'] = placeholder('nullptr') reg.types['nullptr'] = placeholder('nullptr')
reg.types['VkEnum'] = aliastype('VkEnum', 'int32_t') reg.types['VkEnum'] = aliastype('VkEnum', 'int32_t')