mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Merge pull request #1100 from asuessenbach/void
Fix handling of "void *" in generateCommandResultGetValue
This commit is contained in:
commit
4573a7cd39
@ -3485,9 +3485,7 @@ std::string VulkanHppGenerator::generateCommandResultGetValue( std::string const
|
|||||||
generateArgumentListEnhanced( commandData.params, skippedParams, {}, definition, false, false, true );
|
generateArgumentListEnhanced( commandData.params, skippedParams, {}, definition, false, false, true );
|
||||||
std::string commandName = generateCommandName( name, commandData.params, initialSkipCount, m_tags );
|
std::string commandName = generateCommandName( name, commandData.params, initialSkipCount, m_tags );
|
||||||
std::string nodiscard = generateNoDiscard( 1 < commandData.successCodes.size(), 1 < commandData.errorCodes.size() );
|
std::string nodiscard = generateNoDiscard( 1 < commandData.successCodes.size(), 1 < commandData.errorCodes.size() );
|
||||||
std::string returnBaseType = commandData.params[returnParamIndex].type.compose();
|
std::string returnBaseType = trimEnd( stripPostfix( commandData.params[returnParamIndex].type.compose(), "*" ) );
|
||||||
assert( endsWith( returnBaseType, "*" ) );
|
|
||||||
returnBaseType.pop_back();
|
|
||||||
std::string typenameT;
|
std::string typenameT;
|
||||||
if ( returnBaseType == "void" )
|
if ( returnBaseType == "void" )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user