mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-01-23 20:41:12 +00:00
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
|
@ -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>
|
2005-02-02 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
* generator/Makefile.am : remove source file.
|
* generator/Makefile.am : remove source file.
|
||||||
|
|
|
@ -78,21 +78,6 @@ namespace GtkSharp.Generation {
|
||||||
sw.WriteLine ("\t\tevent " + EventHandlerQualifiedName + " " + Name + ";");
|
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 {
|
public string CName {
|
||||||
get {
|
get {
|
||||||
return "\"" + elem.GetAttribute("cname") + "\"";
|
return "\"" + elem.GetAttribute("cname") + "\"";
|
||||||
|
|
Loading…
Reference in a new issue