[vala] glib-2.0: Fix GIConv binding.
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] glib-2.0: Fix GIConv binding.
- Date: Thu, 5 Aug 2010 07:36:25 +0000 (UTC)
commit 3f3325388bc40ce1b36361b83a9c5cdfdc9226cc
Author: Frederik Zipp <fzipp gmx de>
Date: Tue Aug 3 11:51:14 2010 +0200
glib-2.0: Fix GIConv binding.
vapi/glib-2.0.vapi | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 3099817..0ff1c54 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -1966,9 +1966,9 @@ namespace GLib {
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 bool get_charset (out unowned string charset);
+ [SimpleType]
public struct IConv {
- [CCode (cname = "g_iconv_open")]
- public IConv (string to_codeset, string from_codeset);
+ public static IConv open (string to_codeset, string from_codeset);
[CCode (cname = "g_iconv")]
public uint iconv (out string inbuf, out uint inbytes_left, out string outbuf, out uint outbytes_left);
public int close ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]