mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-23 17:55:27 +00:00
2003-10-17 Mike Kestner <mkestner@ximian.com>
* generator/Parameters.cs : mark enum pointer params as out. need to audit if any are really arrays. [Fixes #49779] svn path=/trunk/gtk-sharp/; revision=19153
This commit is contained in:
parent
67e0164e7d
commit
c62e9ab977
|
@ -1,3 +1,8 @@
|
|||
2003-10-17 Mike Kestner <mkestner@ximian.com>
|
||||
|
||||
* generator/Parameters.cs : mark enum pointer params as out.
|
||||
need to audit if any are really arrays. [Fixes #49779]
|
||||
|
||||
2003-10-17 Mike Kestner <mkestner@ximian.com>
|
||||
|
||||
* gtk/Window.cs : override Raw prop and take a ref, since gtk+
|
||||
|
|
|
@ -128,6 +128,9 @@ namespace GtkSharp.Generation {
|
|||
if (Generatable is SimpleGen && !(Generatable is ConstStringGen) && CType.EndsWith ("*") && !CSType.EndsWith ("IntPtr"))
|
||||
return "out";
|
||||
|
||||
if (Generatable is EnumGen && CType.EndsWith ("*"))
|
||||
return "out";
|
||||
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue