diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2016-11-15 13:34:44 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2016-11-15 13:34:44 +0000 |
commit | 0f3306a56ebffc3140f662a0b87ab06b4e0363af (patch) | |
tree | c0c2f827118a5cf36f67ce1755cb8936f829a3ec /glib/glib.h | |
parent | 43ed42e4d52c14816b10ba83cedfb37e6ccc839a (diff) | |
download | glib-wip/ebassi/rc.tar.gz |
Add reference counted stringswip/ebassi/rc
Instead of copying strings around, we can box them using the g_ref_* API
and add reference counting to the char array.
Reference counted strings can be used with any string utility function.
Diffstat (limited to 'glib/glib.h')
-rw-r--r-- | glib/glib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/glib/glib.h b/glib/glib.h index b92ac6cfc..53324c956 100644 --- a/glib/glib.h +++ b/glib/glib.h @@ -70,6 +70,7 @@ #include <glib/gqueue.h> #include <glib/grand.h> #include <glib/grefcount.h> +#include <glib/grefstring.h> #include <glib/gregex.h> #include <glib/gscanner.h> #include <glib/gsequence.h> |