From: Juerg Billeter Date: Sat, 12 Apr 2008 20:34:27 +0000 (+0000) Subject: fix sscanf and add g_hash_table_remove_all bindings, patch by Evan X-Git-Tag: VALA_0_3_1~112 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f150096d5a11ddb0dfda7ffa0447770475019353;p=platform%2Fupstream%2Fvala.git fix sscanf and add g_hash_table_remove_all bindings, patch by Evan 2008-04-12 Juerg Billeter * vapi/glib-2.0.vapi: fix sscanf and add g_hash_table_remove_all bindings, patch by Evan Nemerson svn path=/trunk/; revision=1189 --- diff --git a/ChangeLog b/ChangeLog index 1f67d16..20857dd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-04-12 Jürg Billeter + + * 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 * configure.ac: Post-release version bump diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index bc201e5..0753da3 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -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 get_keys (); public List get_values (); [CCode (cname = "g_hash_table_foreach")]