- fixed Strcut generation in generator tool
- added some test cases
This commit is contained in:
parent
466931e527
commit
cdedb019b0
12 changed files with 319 additions and 17 deletions
|
@ -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 '}':
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue