[vala] glib-2.0: Add g_node_unlink binding
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] glib-2.0: Add g_node_unlink binding
- Date: Mon, 9 Aug 2010 07:29:20 +0000 (UTC)
commit 7c19727acd122d646a497a0885f001c61e3284bb
Author: Michal Hruby <michal mhr gmail com>
Date: Mon Aug 9 09:26:46 2010 +0200
glib-2.0: Add g_node_unlink binding
vapi/glib-2.0.vapi | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 86f8efb..00b6282 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -3772,6 +3772,16 @@ namespace GLib {
public uint n_nodes (TraverseFlags flags);
public uint max_height ();
+ [CCode (cname = "g_node_unlink")]
+ public void _unlink ();
+ [CCode (cname = "g_node_unlink_vala")]
+ public Node<G> unlink ()
+ {
+ void *ptr = this;
+ _unlink ();
+ return (Node<G>) (owned) ptr;
+ }
+
public G data;
public Node next;
public Node prev;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]