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.
This commit is contained in:
Emmanuele Bassi
2018-06-12 13:46:28 +01:00
parent 4b33b03dd3
commit 00a723f597
12 changed files with 308 additions and 0 deletions

View File

@@ -122,6 +122,7 @@
<xi:include href="xml/refcount.xml"/>
<xi:include href="xml/rcbox.xml"/>
<xi:include href="xml/arcbox.xml"/>
<xi:include href="xml/refstring.xml"/>
</chapter>
<chapter id="deprecated">

View File

@@ -3490,3 +3490,11 @@ g_arc_box_acquire
g_arc_box_release
g_arc_box_release_full
</SECTION>
<SECTION>
<FILE>refstring</FILE>
g_ref_string_new
g_ref_string_new_intern
g_ref_string_acquire
g_ref_string_release
</SECTION>