sh_funcs.append("string dynamic_display(const void* pStruct, const string prefix)\n{")
sh_funcs.append(" // Cast to APP_INFO ptr initially just to pull sType off struct")
sh_funcs.append(" if (pStruct == NULL) {\n")
- sh_funcs.append(" return NULL;")
+ sh_funcs.append(" return string();")
sh_funcs.append(" }\n")
sh_funcs.append(" VkStructureType sType = ((VkApplicationInfo*)pStruct)->sType;")
sh_funcs.append(' string indent = " ";')
sh_funcs.append(' }')
sh_funcs.append(' break;')
sh_funcs.append(" default:")
- sh_funcs.append(" return NULL;")
+ sh_funcs.append(" return string();")
sh_funcs.append('%s' % lineinfo.get())
sh_funcs.append(" }")
sh_funcs.append("}")