mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-05-09 18:52:22 +00:00
2002-09-01 Gonzalo Paniagua Javier <gonzalo@gnome-db.org>
* glib/ListBase.cs: fixed compilation (the base class must be at least as accesible as the derived ones). svn path=/trunk/gtk-sharp/; revision=7169
This commit is contained in:
parent
285bb09060
commit
31fe10076e
|
@ -1,3 +1,8 @@
|
||||||
|
2002-09-01 Gonzalo Paniagua Javier <gonzalo@gnome-db.org>
|
||||||
|
|
||||||
|
* glib/ListBase.cs: fixed compilation (the base class must be at least
|
||||||
|
as accesible as the derived ones).
|
||||||
|
|
||||||
2002-08-31 Rodrigo Moya <rodrigo@ximian.com>
|
2002-08-31 Rodrigo Moya <rodrigo@ximian.com>
|
||||||
|
|
||||||
* api/gda-api.xml: new file for the libgda API.
|
* api/gda-api.xml: new file for the libgda API.
|
||||||
|
|
|
@ -18,7 +18,7 @@ namespace GLib {
|
||||||
/// Base class for GList and GSList.
|
/// Base class for GList and GSList.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
|
|
||||||
internal abstract class ListBase : IDisposable, ICollection, GLib.IWrapper, ICloneable {
|
public abstract class ListBase : IDisposable, ICollection, GLib.IWrapper, ICloneable {
|
||||||
|
|
||||||
private IntPtr list_ptr = IntPtr.Zero;
|
private IntPtr list_ptr = IntPtr.Zero;
|
||||||
private int length = -1;
|
private int length = -1;
|
||||||
|
@ -30,13 +30,17 @@ namespace GLib {
|
||||||
abstract internal int Length (IntPtr list);
|
abstract internal int Length (IntPtr list);
|
||||||
abstract internal void Free (IntPtr list);
|
abstract internal void Free (IntPtr list);
|
||||||
|
|
||||||
protected ListBase (IntPtr list, Type element_type)
|
private ListBase ()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
internal ListBase (IntPtr list, Type element_type)
|
||||||
{
|
{
|
||||||
list_ptr = list;
|
list_ptr = list;
|
||||||
this.element_type = element_type;
|
this.element_type = element_type;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected ListBase (IntPtr list)
|
internal ListBase (IntPtr list)
|
||||||
{
|
{
|
||||||
list_ptr = list;
|
list_ptr = list;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue