src/Commands.cc

changeset 112
def56932f938
parent 108
6409ece8297c
child 115
9be16e1c1e44
equal deleted inserted replaced
111:87d9ebd3ef34 112:def56932f938
67 // Returns the prototype of the command 67 // Returns the prototype of the command
68 // 68 //
69 String CommandInfo::GetSignature() 69 String CommandInfo::GetSignature()
70 { 70 {
71 String text; 71 String text;
72 text += GetTypeName (returnvalue); 72 text += DataTypeName (returnvalue);
73 text += ' '; 73 text += ' ';
74 text += name; 74 text += name;
75 75
76 if (args.IsEmpty() == false) 76 if (args.IsEmpty() == false)
77 text += ' '; 77 text += ' ';
89 } 89 }
90 90
91 if (i) 91 if (i)
92 text += ", "; 92 text += ", ";
93 93
94 text += GetTypeName (args[i].type); 94 text += DataTypeName (args[i].type);
95 text += ' '; 95 text += ' ';
96 text += args[i].name; 96 text += args[i].name;
97 97
98 if (i >= minargs) 98 if (i >= minargs)
99 { 99 {

mercurial