mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-24 00:05:38 +00:00
* generator/Property.cs (Generate): cast GLib.Values to
System.Enum before casting them to an enum type, to fix the build with csc 1.1. svn path=/trunk/gtk-sharp/; revision=47962
This commit is contained in:
parent
155f8352a0
commit
38c70d2503
|
@ -1,3 +1,9 @@
|
||||||
|
2005-08-02 Dan Winship <danw@novell.com>
|
||||||
|
|
||||||
|
* generator/Property.cs (Generate): cast GLib.Values to
|
||||||
|
System.Enum before casting them to an enum type, to fix the build
|
||||||
|
with csc 1.1.
|
||||||
|
|
||||||
2005-07-29 Dan Winship <danw@novell.com>
|
2005-07-29 Dan Winship <danw@novell.com>
|
||||||
|
|
||||||
Automatic memory management for opaque types [#49565]
|
Automatic memory management for opaque types [#49565]
|
||||||
|
|
|
@ -112,6 +112,8 @@ namespace GtkSharp.Generation {
|
||||||
v_type = "(GLib.Object)";
|
v_type = "(GLib.Object)";
|
||||||
} else if (table.IsOpaque (CType)) {
|
} else if (table.IsOpaque (CType)) {
|
||||||
v_type = "(GLib.Opaque)";
|
v_type = "(GLib.Opaque)";
|
||||||
|
} else if (table.IsEnum (CType)) {
|
||||||
|
v_type = "(Enum)";
|
||||||
}
|
}
|
||||||
|
|
||||||
GenerateImports (gen_info, indent);
|
GenerateImports (gen_info, indent);
|
||||||
|
|
Loading…
Reference in a new issue