tools/spec: override the windows header with our own version
This commit is contained in:
parent
cf6ba5e462
commit
9dfc951193
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user