return tuple should be treated as multiple returns
This commit is contained in:
parent
21d36af507
commit
2552888693
2 changed files with 14 additions and 2 deletions
|
@ -98,6 +98,13 @@ string typeSig(T)() if(canDBus!T) {
|
|||
}
|
||||
}
|
||||
|
||||
string[] typeSigReturn(T)() if(canDBus!T) {
|
||||
static if(is(T == Tuple!TS, TS...))
|
||||
return typeSigArr!TS;
|
||||
else
|
||||
return [typeSig!T];
|
||||
}
|
||||
|
||||
string typeSigAll(TS...)() if(allCanDBus!TS) {
|
||||
string sig = "";
|
||||
foreach(i,T; TS) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue