diff --git a/ChangeLog b/ChangeLog index fc0b4a801..79f6047f5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-02-24 Mike Kestner + + * generator/Parameters.cs : fix some ref/out bugs + 2003-02-24 Mike Kestner * generator/ObjectGen.cs : gen GLib.Value ctor, not uint diff --git a/generator/Parameters.cs b/generator/Parameters.cs index d6a9e2961..1a140dd74 100644 --- a/generator/Parameters.cs +++ b/generator/Parameters.cs @@ -281,7 +281,7 @@ namespace GtkSharp.Generation { if (type != "GError**" && m_type != "IntPtr" && m_type != "System.IntPtr") { import_sig += pass_as + " "; - call_string += "out "; + call_string += pass_as + " "; } if (SymbolTable.IsEnum (type)) @@ -323,8 +323,8 @@ namespace GtkSharp.Generation { // FIXME: lame call_string = call_string.Replace ("out ref", "out"); import_sig = import_sig.Replace ("out ref", "out"); - call_string = call_string.Replace ("ref ref", "out"); - import_sig = import_sig.Replace ("ref ref", "out"); + call_string = call_string.Replace ("ref ref", "ref"); + import_sig = import_sig.Replace ("ref ref", "ref"); // FIXME: this is also lame, I need to fix the need_sep algo if (signature.EndsWith (", "))