From f150096d5a11ddb0dfda7ffa0447770475019353 Mon Sep 17 00:00:00 2001 From: Juerg Billeter Date: Sat, 12 Apr 2008 20:34:27 +0000 Subject: [PATCH] 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 --- ChangeLog | 5 +++++ vapi/glib-2.0.vapi | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) 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")] -- 2.7.4