mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-09 00:13:20 +02:00
2007-11-02 Mike Kestner <mkestner@novell.com>
* glib/SList.cs: * glib/List.cs: add Array dup of object[] ctor since we are passing typed arrays from generated code. svn path=/trunk/gtk-sharp/; revision=88730
This commit is contained in:
parent
663b457f63
commit
4a9070a2e1
@ -1,3 +1,9 @@
|
|||||||
|
2007-11-02 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
|
* glib/SList.cs:
|
||||||
|
* glib/List.cs: add Array dup of object[] ctor since we
|
||||||
|
are passing typed arrays from generated code.
|
||||||
|
|
||||||
2007-11-02 Mike Kestner <mkestner@novell.com>
|
2007-11-02 Mike Kestner <mkestner@novell.com>
|
||||||
|
|
||||||
* generator/Method.cs: need to use on the Base method name to
|
* generator/Method.cs: need to use on the Base method name to
|
||||||
|
@ -104,5 +104,10 @@ namespace GLib {
|
|||||||
foreach (object o in elements)
|
foreach (object o in elements)
|
||||||
Append (o);
|
Append (o);
|
||||||
}
|
}
|
||||||
|
public List (Array elements, System.Type element_type, bool owned, bool elements_owned) : this (IntPtr.Zero, element_type, owned, elements_owned)
|
||||||
|
{
|
||||||
|
foreach (object o in elements)
|
||||||
|
Append (o);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -105,5 +105,11 @@ namespace GLib {
|
|||||||
foreach (object o in members)
|
foreach (object o in members)
|
||||||
Append (o);
|
Append (o);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public SList (Array members, System.Type element_type, bool owned, bool elements_owned) : this (IntPtr.Zero, element_type, owned, elements_owned)
|
||||||
|
{
|
||||||
|
foreach (object o in members)
|
||||||
|
Append (o);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user