mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-16 11:34:47 +02:00
2008-01-29 Mike Kestner <mkestner@novell.com>
* generator/VirtualMethod (CName): mangle the name. * generator/SymbolTable.cs (MangleName): add 'remove' and 'foreach' mappings. Should probably just get a C# keyword list and map all of them instead of onesy twoseys. Fixes for tnymail binding generation. svn path=/trunk/gtk-sharp/; revision=94286
This commit is contained in:
parent
b40365eafb
commit
6a668a2cc8
@ -1,3 +1,11 @@
|
|||||||
|
2008-01-29 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
|
* generator/VirtualMethod (CName): mangle the name.
|
||||||
|
* generator/SymbolTable.cs (MangleName): add 'remove' and 'foreach'
|
||||||
|
mappings. Should probably just get a C# keyword list and map all of
|
||||||
|
them instead of onesy twoseys.
|
||||||
|
Fixes for tnymail binding generation.
|
||||||
|
|
||||||
2008-01-24 Lluis Sanchez Gual <lluis@novell.com>
|
2008-01-24 Lluis Sanchez Gual <lluis@novell.com>
|
||||||
|
|
||||||
* glade/XML.custom: due to a recent Mono fix (bug #322762),
|
* glade/XML.custom: due to a recent Mono fix (bug #322762),
|
||||||
|
@ -66,7 +66,7 @@ namespace GtkSharp.Generation {
|
|||||||
|
|
||||||
public string CName {
|
public string CName {
|
||||||
get {
|
get {
|
||||||
return elem.GetAttribute ("cname");
|
return SymbolTable.Table.MangleName (elem.GetAttribute ("cname"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -388,6 +388,10 @@ namespace GtkSharp.Generation {
|
|||||||
return "_internal";
|
return "_internal";
|
||||||
case "where":
|
case "where":
|
||||||
return "wh3r3";
|
return "wh3r3";
|
||||||
|
case "foreach":
|
||||||
|
return "for_each";
|
||||||
|
case "remove":
|
||||||
|
return "_remove";
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user