mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Merge pull request #923 from asuessenbach/type
Add "type" as an optional attribute for enums.
This commit is contained in:
commit
026e07639f
@ -11878,7 +11878,8 @@ void VulkanHppGenerator::readEnumConstant( tinyxml2::XMLElement const * element
|
|||||||
{
|
{
|
||||||
int line = element->GetLineNum();
|
int line = element->GetLineNum();
|
||||||
std::map<std::string, std::string> attributes = getAttributes( element );
|
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 ), {} );
|
checkElements( line, getChildElements( element ), {} );
|
||||||
|
|
||||||
std::string alias, name, value;
|
std::string alias, name, value;
|
||||||
|
Loading…
Reference in New Issue
Block a user