summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--vapi/glib-2.0.vala19
2 files changed, 23 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a6419aa0c..4bbbcd3cd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
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
* vapi/gio-standalone.vala: regenerated
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 {