[vala/staging] glib-2.0: Add new symbols from 2.62



commit 0514e4637ff4f4ac7209f9b2c2be565e33390a35
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Wed Aug 28 13:46:07 2019 +0200

    glib-2.0: Add new symbols from 2.62

 vapi/glib-2.0.vapi | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 89f63a81e..3b3e4569f 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -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);


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