mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-04 18:26:19 +01:00
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:
parent
01544c9269
commit
7759542ee3
@ -202,7 +202,7 @@ try_to_aliases (const char **to_aliases,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* g_iconv_open:
|
* g_iconv_open: (skip)
|
||||||
* @to_codeset: destination codeset
|
* @to_codeset: destination codeset
|
||||||
* @from_codeset: source 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()
|
* @converter: conversion descriptor from g_iconv_open()
|
||||||
* @inbuf: bytes to convert
|
* @inbuf: bytes to convert
|
||||||
* @inbytes_left: inout parameter, bytes remaining to convert in @inbuf
|
* @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()
|
* @converter: a conversion descriptor from g_iconv_open()
|
||||||
*
|
*
|
||||||
* Same as the standard UNIX routine iconv_close(), but
|
* 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
|
* @str: the string to convert
|
||||||
* @len: the length of the string in bytes, or -1 if the string is
|
* @len: the length of the string in bytes, or -1 if the string is
|
||||||
* nul-terminated (Note that some encodings may allow nul
|
* nul-terminated (Note that some encodings may allow nul
|
||||||
|
@ -69,7 +69,7 @@ GLIB_AVAILABLE_IN_ALL
|
|||||||
GQuark g_convert_error_quark (void);
|
GQuark g_convert_error_quark (void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GIConv:
|
* GIConv: (skip)
|
||||||
*
|
*
|
||||||
* The GIConv struct wraps an iconv() conversion descriptor. It contains
|
* The GIConv struct wraps an iconv() conversion descriptor. It contains
|
||||||
* private data and should only be accessed using the following functions.
|
* private data and should only be accessed using the following functions.
|
||||||
|
Loading…
Reference in New Issue
Block a user