mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-01-11 18:35:31 +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>
|
2007-08-13 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
* generator/ByRefGen.cs : implement IManualMarshaler.
|
* generator/ByRefGen.cs : implement IManualMarshaler.
|
||||||
|
|
|
@ -72,11 +72,7 @@ namespace GtkSharp.Generation {
|
||||||
result [i] += call_parm;
|
result [i] += call_parm;
|
||||||
}
|
}
|
||||||
|
|
||||||
string call_string = String.Join (", ", result);
|
return 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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Initialize (GenerationInfo gen_info, bool is_get, bool is_set, string indent)
|
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;
|
string sig = MarshalType + " " + Name;
|
||||||
if (PassAs != String.Empty)
|
if (PassAs != String.Empty)
|
||||||
sig = PassAs + " " + sig;
|
sig = PassAs + " " + sig;
|
||||||
sig = sig.Replace ("out ref", "out");
|
|
||||||
sig = sig.Replace ("ref ref", "ref");
|
|
||||||
return sig;
|
return sig;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue