2003-08-19 John Luke <jluke@cfl.rr.com>
* glib/ListBase.cs: Add convenience .Append (string) method svn path=/trunk/gtk-sharp/; revision=17416
This commit is contained in:
parent
dbc1750326
commit
350fd53fa7
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2003-08-19 John Luke <jluke@cfl.rr.com>
|
||||||
|
|
||||||
|
* glib/ListBase.cs: Add convenience .Append (string) method
|
||||||
|
|
||||||
2003-08-19 Martin Willemoes Hansen <mwh@sysrq.dk>
|
2003-08-19 Martin Willemoes Hansen <mwh@sysrq.dk>
|
||||||
|
|
||||||
* generator/Method.cs: Fixed bug where all ToString methods
|
* generator/Method.cs: Fixed bug where all ToString methods
|
||||||
|
|
|
@ -86,6 +86,11 @@ namespace GLib {
|
||||||
list_ptr = Append (list_ptr, raw);
|
list_ptr = Append (list_ptr, raw);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void Append (string item)
|
||||||
|
{
|
||||||
|
this.Append (Marshal.StringToHGlobalAnsi (item));
|
||||||
|
}
|
||||||
|
|
||||||
public void Prepend (IntPtr raw)
|
public void Prepend (IntPtr raw)
|
||||||
{
|
{
|
||||||
list_ptr = Prepend (list_ptr, raw);
|
list_ptr = Prepend (list_ptr, raw);
|
||||||
|
|
Loading…
Reference in a new issue