From: Juerg Billeter Date: Thu, 6 Sep 2007 14:20:18 +0000 (+0000) Subject: add GTypeDebugFlags and GNode X-Git-Tag: VALA_0_1_4~61 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5ee9bb3b03d3d6764dc7845bded55abb86aaac65;p=thirdparty%2Fvala.git add GTypeDebugFlags and GNode 2007-09-06 Juerg Billeter * vapi/glib-2.0.vala: add GTypeDebugFlags and GNode svn path=/trunk/; revision=587 --- diff --git a/ChangeLog b/ChangeLog index a6419aa0c..4bbbcd3cd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-09-06 Jürg Billeter + + * vapi/glib-2.0.vala: add GTypeDebugFlags and GNode + 2007-09-06 Jürg Billeter * vapi/packages/gio-standalone/: updated to currrent git 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 { + public G data; + public Node next; + public Node prev; + public Node parent; + public Node children; + } + /* Quarks */ public struct Quark {