- fixed Strcut generation in generator tool

- added some test cases
This commit is contained in:
Andreas Volz 2011-02-15 23:58:42 +01:00
parent 466931e527
commit cdedb019b0
12 changed files with 319 additions and 17 deletions

View file

@ -122,7 +122,7 @@ void _parse_signature(const string &signature, string &type, unsigned int &i)
type += "std::vector< ";
_parse_signature(signature, type, i);
type += " >";
type += " >";
break;
}
@ -135,6 +135,16 @@ void _parse_signature(const string &signature, string &type, unsigned int &i)
break;
}
case '(':
{
type += "::DBus::Struct< ";
++i;
_parse_signature(signature, type, i);
type += " >";
break;
}
case ')':
case '}':
{