mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-05-12 00:13:02 +00:00
2003-02-24 Mike Kestner <mkestner@speakeasy.net>
* generator/Parameters.cs : fix some ref/out bugs svn path=/trunk/gtk-sharp/; revision=11922
This commit is contained in:
parent
470c852770
commit
0e5ab4bdea
|
@ -1,3 +1,7 @@
|
||||||
|
2003-02-24 Mike Kestner <mkestner@speakeasy.net>
|
||||||
|
|
||||||
|
* generator/Parameters.cs : fix some ref/out bugs
|
||||||
|
|
||||||
2003-02-24 Mike Kestner <mkestner@speakeasy.net>
|
2003-02-24 Mike Kestner <mkestner@speakeasy.net>
|
||||||
|
|
||||||
* generator/ObjectGen.cs : gen GLib.Value ctor, not uint
|
* generator/ObjectGen.cs : gen GLib.Value ctor, not uint
|
||||||
|
|
|
@ -281,7 +281,7 @@ namespace GtkSharp.Generation {
|
||||||
if (type != "GError**" && m_type != "IntPtr" && m_type != "System.IntPtr")
|
if (type != "GError**" && m_type != "IntPtr" && m_type != "System.IntPtr")
|
||||||
{
|
{
|
||||||
import_sig += pass_as + " ";
|
import_sig += pass_as + " ";
|
||||||
call_string += "out ";
|
call_string += pass_as + " ";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (SymbolTable.IsEnum (type))
|
if (SymbolTable.IsEnum (type))
|
||||||
|
@ -323,8 +323,8 @@ namespace GtkSharp.Generation {
|
||||||
// FIXME: lame
|
// FIXME: lame
|
||||||
call_string = call_string.Replace ("out ref", "out");
|
call_string = call_string.Replace ("out ref", "out");
|
||||||
import_sig = import_sig.Replace ("out ref", "out");
|
import_sig = import_sig.Replace ("out ref", "out");
|
||||||
call_string = call_string.Replace ("ref ref", "out");
|
call_string = call_string.Replace ("ref ref", "ref");
|
||||||
import_sig = import_sig.Replace ("ref ref", "out");
|
import_sig = import_sig.Replace ("ref ref", "ref");
|
||||||
|
|
||||||
// FIXME: this is also lame, I need to fix the need_sep algo
|
// FIXME: this is also lame, I need to fix the need_sep algo
|
||||||
if (signature.EndsWith (", "))
|
if (signature.EndsWith (", "))
|
||||||
|
|
Loading…
Reference in a new issue