vala r1808 - in trunk: . vapi



Author: juergbi
Date: Sun Sep 28 13:29:28 2008
New Revision: 1808
URL: http://svn.gnome.org/viewvc/vala?rev=1808&view=rev

Log:
2008-09-28  JÃrg Billeter  <j bitron ch>

	* vapi/glib-2.0.vapi:

	Fix g_compute_checksum_for_{data,string} bindings,
	patch by Marc-Andrà Lureau


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	Sun Sep 28 13:29:28 2008
@@ -1832,8 +1832,10 @@
 		[NoArrayLength]
 		public void get_digest (uint8[] buffer, ref size_t digest_len);
 		[NoArrayLength]
-		public static string compute_for_data (ChecksumType checksum_type, uchar[] data, size_t length);
-		public static string compute_for_string (ChecksumType checksum_type, string str, size_t length);
+		[CCode (cname = "g_compute_checksum_for_data")]
+		public static string compute_for_data (ChecksumType checksum_type, uchar[] data);
+		[CCode (cname = "g_compute_checksum_for_string")]
+		public static string compute_for_string (ChecksumType checksum_type, string str, size_t length = -1);
 	}
 
 	/* Date and Time Functions */



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