2004-02-03 Mike Kestner <mkestner@ximian.com>

* glib/List.cs : add a ctor overload to create empty lists with
	a specific element_type.
	* glib/SList.cs : ditto

svn path=/trunk/gtk-sharp/; revision=22765
This commit is contained in:
Mike Kestner 2004-02-04 17:21:22 +00:00
parent f9026e2b5b
commit 1a679f2356
3 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2004-02-03 Mike Kestner <mkestner@ximian.com>
* glib/List.cs : add a ctor overload to create empty lists with
a specific element_type.
* glib/SList.cs : ditto
2004-02-03 Mike Kestner <mkestner@ximian.com>
* glib/Value.cs : remove double free of ManagedValues. Fixes the

View File

@ -89,6 +89,10 @@ namespace GLib {
{
}
public List (System.Type element_type) : base (IntPtr.Zero, element_type)
{
}
public List (IntPtr raw, System.Type element_type) : base (raw, element_type)
{
}

View File

@ -89,6 +89,10 @@ namespace GLib {
{
}
public SList (System.Type element_type) : base (IntPtr.Zero, element_type)
{
}
public SList (IntPtr raw, System.Type element_type) : base (raw, element_type)
{
}