]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
add GTypeDebugFlags and GNode
authorJuerg Billeter <j@bitron.ch>
Thu, 6 Sep 2007 14:20:18 +0000 (14:20 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Thu, 6 Sep 2007 14:20:18 +0000 (14:20 +0000)
2007-09-06  Juerg Billeter  <j@bitron.ch>

* vapi/glib-2.0.vala: add GTypeDebugFlags and GNode

svn path=/trunk/; revision=587

ChangeLog
vapi/glib-2.0.vala

index a6419aa0cbf8f94f766691e167731779ceaac060..4bbbcd3cd317879d18e4b6133368871fe8e743e9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-09-06  Jürg Billeter  <j@bitron.ch>
+
+       * vapi/glib-2.0.vala: add GTypeDebugFlags and GNode
+
 2007-09-06  Jürg Billeter  <j@bitron.ch>
 
        * vapi/packages/gio-standalone/: updated to currrent git
index cdc41ba767749d1ba56877add9816340fd67a6ed..001571cb0b5f942cb9f0845d8ab73a319861833b 100644 (file)
@@ -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 {