mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-05 13:19:21 +02:00
gutf8: add introspection type for end
parameter of validate*
fn's
actually @pwithnall thought about how to fix it, i just tested and committed it Fixes: https://gitlab.gnome.org/GNOME/glib/-/issues/3743
This commit is contained in:
@@ -2226,7 +2226,7 @@ out:
|
|||||||
* g_utf8_validate:
|
* g_utf8_validate:
|
||||||
* @str: (array length=max_len) (element-type guint8): a pointer to character data
|
* @str: (array length=max_len) (element-type guint8): a pointer to character data
|
||||||
* @max_len: max bytes to validate, or `-1` to go until nul
|
* @max_len: max bytes to validate, or `-1` to go until nul
|
||||||
* @end: (out) (optional) (transfer none): return location for end of valid data
|
* @end: (out) (optional) (transfer none) (array zero-terminated=1) (element-type guint8): return location for end of valid data
|
||||||
*
|
*
|
||||||
* Validates UTF-8 encoded text.
|
* Validates UTF-8 encoded text.
|
||||||
*
|
*
|
||||||
@@ -2262,7 +2262,7 @@ g_utf8_validate (const char *str,
|
|||||||
* g_utf8_validate_len:
|
* g_utf8_validate_len:
|
||||||
* @str: (array length=max_len) (element-type guint8): a pointer to character data
|
* @str: (array length=max_len) (element-type guint8): a pointer to character data
|
||||||
* @max_len: max bytes to validate
|
* @max_len: max bytes to validate
|
||||||
* @end: (out) (optional) (transfer none): return location for end of valid data
|
* @end: (out) (optional) (transfer none) (array zero-terminated=1) (element-type guint8): return location for end of valid data
|
||||||
*
|
*
|
||||||
* Validates UTF-8 encoded text.
|
* Validates UTF-8 encoded text.
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user