2003-02-19 Mike Kestner <mkestner@speakeasy.net>
* generator/Parameters.cs (Initialize): construct a GLib.Value for out params. svn path=/trunk/gtk-sharp/; revision=11768
This commit is contained in:
parent
284ab36d8b
commit
367de43b68
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-02-19 Mike Kestner <mkestner@speakeasy.net>
|
||||
|
||||
* generator/Parameters.cs (Initialize): construct a GLib.Value
|
||||
for out params.
|
||||
|
||||
2003-02-19 Mike Kestner <mkestner@speakeasy.net>
|
||||
|
||||
* api/gtk-api.xml : mark TreeModel::GetValue value param out
|
||||
|
|
|
@ -327,7 +327,7 @@ namespace GtkSharp.Generation {
|
|||
sw.WriteLine (indent + "\t\t\t" + type + " " + name + ";");
|
||||
}
|
||||
|
||||
if ((is_get || (p_elem.HasAttribute("pass_as") && p_elem.GetAttribute ("pass_as") == "out")) && (SymbolTable.IsObject (c_type) || SymbolTable.IsOpaque (c_type))) {
|
||||
if ((is_get || (p_elem.HasAttribute("pass_as") && p_elem.GetAttribute ("pass_as") == "out")) && (SymbolTable.IsObject (c_type) || SymbolTable.IsOpaque (c_type) || type == "GLib.Value")) {
|
||||
sw.WriteLine(indent + "\t\t\t" + name + " = new " + type + "();");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue