// Add struct/block members
if (isStruct() && structure) {
- if (typeName) {
- appendStr(" ");
- appendStr(typeName->c_str());
- appendStr(" ");
- }
appendStr("{");
for (size_t i = 0; i < structure->size(); ++i) {
if (! (*structure)[i].type->hiddenMember()) {
for (int i = 0; i < numParams; i++) {
const TParameter ¶m = parameters[i];
infoSink.debug << param.type->getCompleteString() << " "
- << (param.name ? param.name->c_str() : "") << (i < numParams - 1 ? "," : "");
+ << (param.type->isStruct() ? "of " + param.type->getTypeName() + " " : "")
+ << (param.name ? *param.name : "") << (i < numParams - 1 ? "," : "");
}
infoSink.debug << ")";