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
2 changed files with 7 additions and 3 deletions
|
@ -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>
|
||||
|
||||
* 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")
|
||||
{
|
||||
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 (", "))
|
||||
|
|
Loading…
Reference in a new issue