Commit e826d93e authored by Evan Nemerson's avatar Evan Nemerson

gio-2.0: make ContentType.guess_for_tree return an array

parent 7e83479f
......@@ -41,8 +41,8 @@ namespace GLib {
public static string get_mime_type (string type);
[CCode (cheader_filename = "gio/gio.h")]
public static string guess (string? filename, uchar[]? data, out bool result_uncertain);
[CCode (cheader_filename = "gio/gio.h")]
public static string guess_for_tree (GLib.File root);
[CCode (cheader_filename = "gio/gio.h", array_length = false, array_null_terminated = true)]
public static string[] guess_for_tree (GLib.File root);
[CCode (cheader_filename = "gio/gio.h")]
public static bool is_a (string type, string supertype);
[CCode (cheader_filename = "gio/gio.h")]
......@@ -29,6 +29,7 @@ g_content_type_guess.filename nullable="1" nullable="1"
g_content_type_guess.data_size hidden="1"
g_content_type_guess.result_uncertain is_out="1"
g_content_type_guess_for_tree parent="ContentType" transfer_ownership="1" is_array="1" no_array_length="1" array_null_terminated="1" transfer_ownership="1"
g_content_type_is_* parent="ContentType"
g_content_types_get_registered type_arguments="string" transfer_ownership="1"
g_converter_convert.inbuf type_name="uint8" is_array="1" array_length_type="gsize"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment