Add reference counted strings
commit00a723f597da47182040dcf1a60df09ef350a0d2
authorEmmanuele Bassi <ebassi@gnome.org>
Tue, 12 Jun 2018 12:46:28 +0000 (12 13:46 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Mon, 9 Jul 2018 09:11:42 +0000 (9 10:11 +0100)
tree140768d08860e4338353bcb92977a7048e9e0f2d
parent4b33b03dd3f3030e4a28116a3e5f6b4315a67b39
Add reference counted strings

The last part of the reference counting saga.

Now that we have:

 - reference counter types
 - reference counted allocations

we can finally add reference counted strings using reference counted
allocations to avoid creating a new String type, and reimplementing
every single string-based API.
12 files changed:
docs/reference/glib/glib-docs.xml
docs/reference/glib/glib-sections.txt
glib/Makefile.am
glib/glib-autocleanups.h
glib/glib.h
glib/grefstring.c [new file with mode: 0644]
glib/grefstring.h [new file with mode: 0644]
glib/meson.build
glib/tests/Makefile.am
glib/tests/autoptr.c
glib/tests/meson.build
glib/tests/refstring.c [new file with mode: 0644]