mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-19 16:37:52 +02:00
Added new functions g_strstr_len, g_strrstr and g_strrstr_len
2001-06-08 Alex Larsson <alexl@redhat.com> * gstrfuncs.[ch]: Added new functions g_strstr_len, g_strrstr and g_strrstr_len * tests/strfunc-test.c: Add some tests for the new functions. * gunicode.h: * gutf8.c: Add length argument to g_utf8_strchr and g_utf8_strrchr.
This commit is contained in:
committed by
Alexander Larsson
parent
6858b5342f
commit
106fb627f1
@@ -188,10 +188,11 @@ gchar* g_utf8_strncpy (gchar *dest,
|
||||
|
||||
/* Find the UTF-8 character corresponding to ch, in string p. These
|
||||
functions are equivalants to strchr and strrchr */
|
||||
|
||||
gchar* g_utf8_strchr (const gchar *p,
|
||||
gint len,
|
||||
gunichar c);
|
||||
gchar* g_utf8_strrchr (const gchar *p,
|
||||
gint len,
|
||||
gunichar c);
|
||||
|
||||
gunichar2 *g_utf8_to_utf16 (const gchar *str,
|
||||
|
Reference in New Issue
Block a user