2007-08-13 Mike Kestner <mkestner@novell.com>

* generator/MethodBody.cs : finally kill the s/out ref/ref/ hack.
	* generator/Parameter.cs : ditto.

svn path=/trunk/gtk-sharp/; revision=83985
This commit is contained in:
Mike Kestner 2007-08-13 18:18:12 +00:00
parent 71e9b3c99a
commit bc971d723f
3 changed files with 6 additions and 7 deletions

View file

@ -1,3 +1,8 @@
2007-08-13 Mike Kestner <mkestner@novell.com>
* generator/MethodBody.cs : finally kill the s/out ref/ref/ hack.
* generator/Parameter.cs : ditto.
2007-08-13 Mike Kestner <mkestner@novell.com>
* generator/ByRefGen.cs : implement IManualMarshaler.

View file

@ -72,11 +72,7 @@ namespace GtkSharp.Generation {
result [i] += call_parm;
}
string call_string = String.Join (", ", result);
call_string = call_string.Replace ("out ref", "out");
call_string = call_string.Replace ("out out ", "out ");
call_string = call_string.Replace ("ref ref", "ref");
return call_string;
return String.Join (", ", result);
}
public void Initialize (GenerationInfo gen_info, bool is_get, bool is_set, string indent)

View file

@ -185,8 +185,6 @@ namespace GtkSharp.Generation {
string sig = MarshalType + " " + Name;
if (PassAs != String.Empty)
sig = PassAs + " " + sig;
sig = sig.Replace ("out ref", "out");
sig = sig.Replace ("ref ref", "ref");
return sig;
}
}