MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Hpp / generateCArraySizes

Function generateCArraySizes

generator/VulkanHppGenerator.cpp:14739–14747  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14737 }
14738
14739 std::string generateCArraySizes( std::vector<std::string> const & sizes )
14740 {
14741 std::string arraySizes;
14742 for ( auto const & s : sizes )
14743 {
14744 arraySizes += "[" + s + "]";
14745 }
14746 return arraySizes;
14747 }
14748
14749 std::string generateList( std::vector<std::string> const & elements, std::string const & prefix, std::string const & separator )
14750 {

Calls

no outgoing calls

Tested by

no test coverage detected