diff --git a/tools/xml2cpp.cpp b/tools/xml2cpp.cpp index 3b38c6c..05f55ac 100644 --- a/tools/xml2cpp.cpp +++ b/tools/xml2cpp.cpp @@ -155,6 +155,10 @@ void _parse_signature( const string& signature, string& type, unsigned int& i ) ++i; _parse_signature(signature, type, i); type += " >"; + if(signature[i+1]) + { + type += ", "; + } continue; } case ')':