Commit 7759542e authored by Mikhail Zabaluev's avatar Mikhail Zabaluev Committed by Philip Withnall

gconvert: Skip the GIConv API from introspection

It's ugly:
- The core method, g_iconv(), can't be annotated with good semantics.
- The error value of g_iconv_open() is not representable in today's
  introspection.

https://bugzilla.gnome.org/show_bug.cgi?id=756128
parent 01544c92
......@@ -202,7 +202,7 @@ try_to_aliases (const char **to_aliases,
}
/**
* g_iconv_open:
* g_iconv_open: (skip)
* @to_codeset: destination codeset
* @from_codeset: source codeset
*
......@@ -251,7 +251,7 @@ g_iconv_open (const gchar *to_codeset,
}
/**
* g_iconv:
* g_iconv: (skip)
* @converter: conversion descriptor from g_iconv_open()
* @inbuf: bytes to convert
* @inbytes_left: inout parameter, bytes remaining to convert in @inbuf
......@@ -280,7 +280,7 @@ g_iconv (GIConv converter,
}
/**
* g_iconv_close:
* g_iconv_close: (skip)
* @converter: a conversion descriptor from g_iconv_open()
*
* Same as the standard UNIX routine iconv_close(), but
......@@ -340,7 +340,7 @@ close_converter (GIConv cd)
}
/**
* g_convert_with_iconv:
* g_convert_with_iconv: (skip)
* @str: the string to convert
* @len: the length of the string in bytes, or -1 if the string is
* nul-terminated (Note that some encodings may allow nul
......
......@@ -69,7 +69,7 @@ GLIB_AVAILABLE_IN_ALL
GQuark g_convert_error_quark (void);
/**
* GIConv:
* GIConv: (skip)
*
* The GIConv struct wraps an iconv() conversion descriptor. It contains
* private data and should only be accessed using the following functions.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment