mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Add "type" as an optional attribute for enums.
This commit is contained in:
parent
32188df57b
commit
9f930fe2fd
@ -11881,7 +11881,8 @@ void VulkanHppGenerator::readEnumConstant( tinyxml2::XMLElement const * element
|
||||
{
|
||||
int line = element->GetLineNum();
|
||||
std::map<std::string, std::string> attributes = getAttributes( element );
|
||||
checkAttributes( line, attributes, { { "name", {} } }, { { "alias", {} }, { "comment", {} }, { "value", {} } } );
|
||||
checkAttributes(
|
||||
line, attributes, { { "name", {} } }, { { "alias", {} }, { "comment", {} }, { "type", {} }, { "value", {} } } );
|
||||
checkElements( line, getChildElements( element ), {} );
|
||||
|
||||
std::string alias, name, value;
|
||||
|
Loading…
Reference in New Issue
Block a user