mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-03-01 01:27:01 +00: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>
|
||||
|
||||
* glade/XML.custom: due to a recent Mono fix (bug #322762),
|
||||
|
|
|
@ -66,7 +66,7 @@ namespace GtkSharp.Generation {
|
|||
|
||||
public string CName {
|
||||
get {
|
||||
return elem.GetAttribute ("cname");
|
||||
return SymbolTable.Table.MangleName (elem.GetAttribute ("cname"));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -388,6 +388,10 @@ namespace GtkSharp.Generation {
|
|||
return "_internal";
|
||||
case "where":
|
||||
return "wh3r3";
|
||||
case "foreach":
|
||||
return "for_each";
|
||||
case "remove":
|
||||
return "_remove";
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue