summaryrefslogtreecommitdiff
path: root/glib/gstrfuncs.h
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2013-10-14 14:36:34 -0400
committerRyan Lortie <desrt@desrt.ca>2013-10-14 16:48:37 -0400
commit4c510801cfc8120d7dea7ae8121832e8d17d2453 (patch)
treeeb84f0785d16375f9194754739742db1d1e885c5 /glib/gstrfuncs.h
parentc4c3ee6087d36603b29a8a1201c7171d2f99c0b1 (diff)
downloadglib-4c510801cfc8120d7dea7ae8121832e8d17d2453.tar.gz
Add g_str_is_ascii()
Add a function for checking if a string is pure ASCII. https://bugzilla.gnome.org/show_bug.cgi?id=709753
Diffstat (limited to 'glib/gstrfuncs.h')
-rw-r--r--glib/gstrfuncs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/glib/gstrfuncs.h b/glib/gstrfuncs.h
index 510623a94..43bc9248e 100644
--- a/glib/gstrfuncs.h
+++ b/glib/gstrfuncs.h
@@ -195,6 +195,8 @@ GLIB_AVAILABLE_IN_ALL
gchar* g_ascii_strup (const gchar *str,
gssize len) G_GNUC_MALLOC;
+GLIB_AVAILABLE_IN_2_40
+gboolean g_str_is_ascii (const gchar *str);
GLIB_DEPRECATED
gint g_strcasecmp (const gchar *s1,