2005-01-24 Jeroen Zwartepoorte <jeroen@xs4all.nl>

* generator/MethodBody.cs : fix out LPUGen params.

svn path=/trunk/gtk-sharp/; revision=39435
This commit is contained in:
Mike Kestner 2005-01-24 19:44:37 +00:00
parent ea489c2353
commit b8380e84ba
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2005-01-24 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* generator/MethodBody.cs : fix out LPUGen params.
2005-01-24 Mike Kestner <mkestner@novell.com>
* gda/Makefile.am : add new custom.

View file

@ -86,7 +86,7 @@ namespace GtkSharp.Generation {
if (p.CType == "GError**") {
result [i] += "out ";
} else if (p.PassAs != "") {
if (p.Generatable is LPGen || !p.MarshalType.EndsWith ("IntPtr"))
if (p.Generatable is LPGen || p.Generatable is LPUGen || !p.MarshalType.EndsWith ("IntPtr"))
result [i] += p.PassAs + " ";
if (igen is EnumGen)