fix sscanf and add g_hash_table_remove_all bindings, patch by Evan
authorJuerg Billeter <j@bitron.ch>
Sat, 12 Apr 2008 20:34:27 +0000 (20:34 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Sat, 12 Apr 2008 20:34:27 +0000 (20:34 +0000)
2008-04-12  Juerg Billeter  <j@bitron.ch>

* vapi/glib-2.0.vapi: fix sscanf and add g_hash_table_remove_all
  bindings, patch by Evan Nemerson

svn path=/trunk/; revision=1189

ChangeLog
vapi/glib-2.0.vapi

index 1f67d16..20857dd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-04-12  Jürg Billeter  <j@bitron.ch>
+
+       * vapi/glib-2.0.vapi: fix sscanf and add g_hash_table_remove_all
+         bindings, patch by Evan Nemerson
+
 2008-04-07  Jürg Billeter  <j@bitron.ch>
 
        * configure.ac: Post-release version bump
index bc201e5..0753da3 100644 (file)
@@ -516,7 +516,7 @@ public class string {
        public bool has_suffix (string! suffix);
        [CCode (cname = "g_strdup_printf"), PrintfFormat]
        public string printf (...);
-       [CCode (cname = "sscanf")]
+       [CCode (cname = "sscanf", cheader_filename = "stdio.h")]
        public int scanf (...);
        [CCode (cname = "g_strconcat")]
        public string concat (string string2, ...);
@@ -2744,6 +2744,7 @@ namespace GLib {
                public void replace (K# key, V# value);
                public weak V lookup (K key);
                public bool remove (K key);
+               public void remove_all ();
                public List<weak K> get_keys ();
                public List<weak V> get_values ();
                [CCode (cname = "g_hash_table_foreach")]