mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-09 00:13:20 +02:00
2002-07-18 Mike Kestner <mkestner@speakeasy.net>
* generator/StructBase.cs : Mangle field names. * generator/StructGen.cs : uncomment GenField. svn path=/trunk/gtk-sharp/; revision=5892
This commit is contained in:
parent
aeb6280e2f
commit
e39080baa6
@ -1,3 +1,8 @@
|
|||||||
|
2002-07-18 Mike Kestner <mkestner@speakeasy.net>
|
||||||
|
|
||||||
|
* generator/StructBase.cs : Mangle field names.
|
||||||
|
* generator/StructGen.cs : uncomment GenField.
|
||||||
|
|
||||||
2002-07-18 Duncan Mak <duncan@ximian.com>
|
2002-07-18 Duncan Mak <duncan@ximian.com>
|
||||||
|
|
||||||
* parser/Gtk.metadata: Mark gtk_radio_menu_item_new_with_label,
|
* parser/Gtk.metadata: Mark gtk_radio_menu_item_new_with_label,
|
||||||
|
@ -97,7 +97,7 @@ namespace GtkSharp.Generation {
|
|||||||
if (field.HasAttribute("array_len")) {
|
if (field.HasAttribute("array_len")) {
|
||||||
sw.Write ("[]");
|
sw.Write ("[]");
|
||||||
}
|
}
|
||||||
sw.WriteLine (" " + field.GetAttribute("cname") + ";");
|
sw.WriteLine (" " + MangleName(field.GetAttribute("cname")) + ";");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -285,6 +285,8 @@ namespace GtkSharp.Generation {
|
|||||||
return "evnt";
|
return "evnt";
|
||||||
} else if (name == "object") {
|
} else if (name == "object") {
|
||||||
return "objekt";
|
return "objekt";
|
||||||
|
} else if (name == "in") {
|
||||||
|
return "inn";
|
||||||
} else {
|
} else {
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
@ -54,8 +54,8 @@ namespace GtkSharp.Generation {
|
|||||||
|
|
||||||
switch (node.Name) {
|
switch (node.Name) {
|
||||||
case "field":
|
case "field":
|
||||||
Statistics.IgnoreCount++;
|
// Statistics.IgnoreCount++;
|
||||||
// GenField(member, sw);
|
GenField(member, sw);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "callback":
|
case "callback":
|
||||||
|
Loading…
Reference in New Issue
Block a user