mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-09 00:13:20 +02:00
2003-12-16 Joe Shaw <joe@ximian.com>
* generator/SymbolTable.cs (MangleName): Add "lock" and "callback" to the list of names that need to be mangled. The former is a C# reserved keyword and the latter is already used as an argument to methods which marshal callbacks. svn path=/trunk/gtk-sharp/; revision=21276
This commit is contained in:
parent
ff263164e3
commit
0925be2387
@ -1,3 +1,10 @@
|
|||||||
|
2003-12-16 Joe Shaw <joe@ximian.com>
|
||||||
|
|
||||||
|
* generator/SymbolTable.cs (MangleName): Add "lock" and "callback"
|
||||||
|
to the list of names that need to be mangled. The former is a C#
|
||||||
|
reserved keyword and the latter is already used as an argument to
|
||||||
|
methods which marshal callbacks.
|
||||||
|
|
||||||
2003-12-15 Mike Kestner <mkestner@ximian.com>
|
2003-12-15 Mike Kestner <mkestner@ximian.com>
|
||||||
|
|
||||||
* generator/BoxedGen.cs : s/uint/GLib.GType
|
* generator/BoxedGen.cs : s/uint/GLib.GType
|
||||||
|
@ -318,6 +318,10 @@ namespace GtkSharp.Generation {
|
|||||||
return "_new";
|
return "_new";
|
||||||
case "base":
|
case "base":
|
||||||
return "_base";
|
return "_base";
|
||||||
|
case "lock":
|
||||||
|
return "_lock";
|
||||||
|
case "callback":
|
||||||
|
return "cb";
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user