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:
Mike Kestner 2003-10-17 23:06:37 +00:00
parent 67e0164e7d
commit c62e9ab977
2 changed files with 8 additions and 0 deletions

View File

@ -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+

View File

@ -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 "";
}
}