vala r1189 - in trunk: . vapi



Author: juergbi
Date: Sat Apr 12 21:34:27 2008
New Revision: 1189
URL: http://svn.gnome.org/viewvc/vala?rev=1189&view=rev

Log:
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


Modified:
   trunk/ChangeLog
   trunk/vapi/glib-2.0.vapi

Modified: trunk/vapi/glib-2.0.vapi
==============================================================================
--- trunk/vapi/glib-2.0.vapi	(original)
+++ trunk/vapi/glib-2.0.vapi	Sat Apr 12 21:34:27 2008
@@ -516,7 +516,7 @@
 	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 @@
 		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")]



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]