]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Add new symbols from 2.62
authorRico Tzschichholz <ricotz@ubuntu.com>
Wed, 28 Aug 2019 11:46:07 +0000 (13:46 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 28 Aug 2019 11:46:07 +0000 (13:46 +0200)
vapi/glib-2.0.vapi

index 89f63a81ebd894288dcfa278720a3d4482ecd3bf..3b3e4569f4e579f725e620ecd78ed137bc097f91 100644 (file)
@@ -2678,6 +2678,8 @@ namespace GLib {
        public static string convert_with_fallback (string str, ssize_t len, string to_codeset, string from_codeset, string? fallback = null, out size_t bytes_read = null, out size_t bytes_written = null) throws ConvertError;
        public static string convert_with_iconv (string str, ssize_t len, IConv converter, out size_t bytes_read = null, out size_t bytes_written = null) throws ConvertError;
        public static bool get_charset (out unowned string charset);
+       [Version (since = "2.62")]
+       public static bool get_console_charset ([CCode (array_length = false, array_null_terminated = true)] out unowned string[] charsets);
        public static bool get_filename_charsets ([CCode (array_length = false, array_null_terminated = true)] out unowned string[] charsets);
 
        [SimpleType]
@@ -5341,6 +5343,8 @@ namespace GLib {
                public void append_val (owned G value);
                public void append_vals (void* data, uint len);
                [Version (since = "2.62")]
+               public bool binary_search (G target, CompareFunc<G> compare_func, out uint match_index);
+               [Version (since = "2.62")]
                public Array<unowned G> copy ();
                public void prepend_val (owned G value);
                public void prepend_vals (void* data, uint len);