strfuncs: a few g_strsplit_set() improvements
gboolean is secretly actually typedef gint gboolean, so the delim_table is going to take 1KB of stack all by itself. That’s fine, but it could be smaller. This strnpbrk()-like block could do with a comment to make it a bit clearer what it’s doing. Suggested-by:Philip Withnall <philip@tecnocode.co.uk> Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
Showing
Please register or sign in to comment