mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-24 00:05:38 +00:00
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:
parent
71e9b3c99a
commit
bc971d723f
|
@ -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.
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue