[vala/0.34] glib-2.0: Bind g_convert_with_fallback() and g_convert_with_iconv()



commit 6c7d5a254c43967277dc9864c2419640db9812ee
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 1d0eaf2..91ad59c 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -2490,6 +2490,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]