vala r1666 - in trunk: . vapi vapi/packages/gio-2.0



Author: juergbi
Date: Mon Jun 30 21:02:02 2008
New Revision: 1666
URL: http://svn.gnome.org/viewvc/vala?rev=1666&view=rev

Log:
2008-06-30  JÃrg Billeter  <j bitron ch>

	* vapi/glib-2.0.vapi:
	* vapi/packages/gio-2.0/:

	Fix g_pattern_match and g_content_type_guess bindings,
	patch by Phil Housley

	* vapi/gio-2.0.vapi: regenerated


Modified:
   trunk/ChangeLog
   trunk/vapi/gio-2.0.vapi
   trunk/vapi/glib-2.0.vapi
   trunk/vapi/packages/gio-2.0/gio-2.0.metadata

Modified: trunk/vapi/gio-2.0.vapi
==============================================================================
--- trunk/vapi/gio-2.0.vapi	(original)
+++ trunk/vapi/gio-2.0.vapi	Mon Jun 30 21:02:02 2008
@@ -1,4 +1,4 @@
-/* gio-2.0.vapi generated by vapigen, do not modify. */
+/* gio-2.0.vapi generated by lt-vapigen, do not modify. */
 
 [CCode (cprefix = "G", lower_case_cprefix = "g_")]
 namespace GLib {
@@ -1010,7 +1010,7 @@
 	[CCode (cname = "g_content_type_get_mime_type", cheader_filename = "gio/gio.h")]
 	public static weak string g_content_type_get_mime_type (string type);
 	[CCode (cname = "g_content_type_guess", cheader_filename = "gio/gio.h")]
-	public static weak string g_content_type_guess (string filename, uchar[] data, ulong data_size, bool result_uncertain);
+	public static weak string g_content_type_guess (string filename, uchar[] data, out bool result_uncertain);
 	[CCode (cname = "g_content_type_is_a", cheader_filename = "gio/gio.h")]
 	public static bool g_content_type_is_a (string type, string supertype);
 	[CCode (cname = "g_content_type_is_unknown", cheader_filename = "gio/gio.h")]

Modified: trunk/vapi/glib-2.0.vapi
==============================================================================
--- trunk/vapi/glib-2.0.vapi	(original)
+++ trunk/vapi/glib-2.0.vapi	Mon Jun 30 21:02:02 2008
@@ -3248,10 +3248,9 @@
 	[Compact]
 	public class PatternSpec {
 		public PatternSpec (string pattern);
-		public void free ();
 		public bool equal (PatternSpec pspec);
 		[CCode (cname = "g_pattern_match")]
-		public bool match (uint string_length, string str, string str_reversed);
+		public bool match (uint string_length, string str, string? str_reversed);
 		[CCode (cname = "g_pattern_match_string")]
 		public bool match_string (string str);
 		[CCode (cname = "g_pattern_match_simple")]

Modified: trunk/vapi/packages/gio-2.0/gio-2.0.metadata
==============================================================================
--- trunk/vapi/packages/gio-2.0/gio-2.0.metadata	(original)
+++ trunk/vapi/packages/gio-2.0/gio-2.0.metadata	Mon Jun 30 21:02:02 2008
@@ -2,6 +2,8 @@
 g_app_info_launch.envp is_array="1"
 g_app_info_launch_default_for_uri.launch_context nullable="1"
 g_app_info_launch_uris.envp is_array="1"
+g_content_type_guess.data_size hidden="1"
+g_content_type_guess.result_uncertain is_out="1"
 g_data_input_stream_read_line.length is_out="1"
 g_data_input_stream_read_until.length is_out="1"
 g_file_append_to transfer_ownership="1"



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