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
This commit is contained in:
Mikhail Zabaluev 2015-10-06 15:33:03 +03:00 committed by Philip Withnall
parent 01544c9269
commit 7759542ee3
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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.