Add an error check on functions returning VkResult but not specifying success codes. (#262)

This commit is contained in:
Andreas Süßenbach
2018-10-15 14:27:42 +02:00
committed by Markus Tavenrath
parent 38fd14d13c
commit 605ff24487
2 changed files with 14 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ class VulkanHppGenerator
m_handles.insert(std::make_pair("", HandleData())); // insert the default "handle" without class (for createInstance, and such)
}
void checkCorrectness();
std::map<std::string, std::string> createDefaults();
std::string const& getTypesafeCheck() const;
std::string const& getVersion() const;