2005-02-02 Mike Kestner <mkestner@novell.com>
* generator/Signal.cs : kill unnecessary BaseName prop. svn path=/trunk/gtk-sharp/; revision=40008
This commit is contained in:
parent
6590388024
commit
da4e49bd31
2 changed files with 4 additions and 15 deletions
|
@ -1,3 +1,7 @@
|
|||
2005-02-02 Mike Kestner <mkestner@novell.com>
|
||||
|
||||
* generator/Signal.cs : kill unnecessary BaseName prop.
|
||||
|
||||
2005-02-02 Mike Kestner <mkestner@novell.com>
|
||||
|
||||
* generator/Makefile.am : remove source file.
|
||||
|
|
|
@ -78,21 +78,6 @@ namespace GtkSharp.Generation {
|
|||
sw.WriteLine ("\t\tevent " + EventHandlerQualifiedName + " " + Name + ";");
|
||||
}
|
||||
|
||||
private string BaseName {
|
||||
get {
|
||||
string result = SymbolTable.Table.GetName (retval.CType);
|
||||
foreach (Parameter p in parms) {
|
||||
result += p.PassAs;
|
||||
if (p.Generatable is ObjectGen || p.Generatable is InterfaceGen)
|
||||
result += "Object";
|
||||
else
|
||||
result += SymbolTable.Table.GetName(p.CType);
|
||||
}
|
||||
result = result.Replace ("[]", "Array");
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
public string CName {
|
||||
get {
|
||||
return "\"" + elem.GetAttribute("cname") + "\"";
|
||||
|
|
Loading…
Reference in a new issue