[vala/0.36: 65/173] glib-2.0: Bind g_convert_with_fallback() and g_convert_with_iconv()



commit bb030ce088ce30637c4fa74af80dc6084c15ec7d
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Thu Sep 7 22:44:32 2017 +0200

    glib-2.0: Bind g_convert_with_fallback() and g_convert_with_iconv()

 vapi/glib-2.0.vapi |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 1406029..a94719a 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -2571,6 +2571,8 @@ namespace GLib {
        /* Character Set Conversions */
 
        public static string convert (string str, ssize_t len, string to_codeset, string from_codeset, out 
size_t bytes_read = null, out size_t bytes_written = null) throws ConvertError;
+       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);
        public static bool get_filename_charsets ([CCode (array_length = false, array_null_terminated = 
true)] out unowned string[] charsets);
 


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