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
+
+2008-06-30 Jürg Billeter <j@bitron.ch>
+
* gobject/valaccodetypesymbolbinding.vala:
Add support for uchar GObject properties, patch by Ali Sabil
-/* 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 {
[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")]
[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")]
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"