summaryrefslogtreecommitdiff
path: root/vapi
diff options
context:
space:
mode:
authorJuerg Billeter <j@bitron.ch>2007-09-06 14:20:18 +0000
committerJürg Billeter <juergbi@src.gnome.org>2007-09-06 14:20:18 +0000
commit5ee9bb3b03d3d6764dc7845bded55abb86aaac65 (patch)
treef8b04e7f7bd59165096c630b0707ab963dec5ef4 /vapi
parentec9555008ae273055bedc8882d0457870ad40506 (diff)
downloadvala-5ee9bb3b03d3d6764dc7845bded55abb86aaac65.tar.gz
add GTypeDebugFlags and GNode
2007-09-06 Juerg Billeter <j@bitron.ch> * vapi/glib-2.0.vala: add GTypeDebugFlags and GNode svn path=/trunk/; revision=587
Diffstat (limited to 'vapi')
-rw-r--r--vapi/glib-2.0.vala19
1 files changed, 19 insertions, 0 deletions
diff --git a/vapi/glib-2.0.vala b/vapi/glib-2.0.vala
index cdc41ba76..001571cb0 100644
--- a/vapi/glib-2.0.vala
+++ b/vapi/glib-2.0.vala
@@ -586,6 +586,14 @@ namespace GLib {
public Type get_type ();
}
+ [CCode (cprefix = "G_TYPE_DEBUG_")]
+ public enum TypeDebugFlags {
+ NONE,
+ OBJECTS,
+ SIGNALS,
+ MASK
+ }
+
public interface TypePlugin {
}
@@ -2232,6 +2240,17 @@ namespace GLib {
public class ByteArray {
}
+ /* N-ary Trees */
+
+ [CCode (free_function = "g_node_destroy")]
+ public class Node<G> {
+ public G data;
+ public Node next;
+ public Node prev;
+ public Node parent;
+ public Node children;
+ }
+
/* Quarks */
public struct Quark {