Skip to content

Commit

Permalink
Merge branch 'refcount-box' into 'master'
Browse files Browse the repository at this point in the history
Reference counted data allocations

See merge request GNOME/glib!92
  • Loading branch information
ebassi committed Jul 9, 2018
2 parents 884c4f4 + 822b511 commit 2585099
Show file tree
Hide file tree
Showing 19 changed files with 1,717 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/reference/glib/glib-docs.xml
Expand Up @@ -120,6 +120,9 @@
<xi:include href="gvariant-varargs.xml"/>
<xi:include href="gvariant-text.xml"/>
<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">
Expand Down
35 changes: 35 additions & 0 deletions docs/reference/glib/glib-sections.txt
Expand Up @@ -3466,3 +3466,38 @@ g_atomic_ref_count_inc
g_atomic_ref_count_dec
g_atomic_ref_count_compare
</SECTION>

<SECTION>
<FILE>rcbox</FILE>
g_rc_box_alloc
g_rc_box_alloc0
g_rc_box_new
g_rc_box_new0
g_rc_box_dup
g_rc_box_acquire
g_rc_box_release
g_rc_box_release_full
g_rc_box_get_size
</SECTION>

<SECTION>
<FILE>arcbox</FILE>
g_arc_box_alloc
g_arc_box_alloc0
g_arc_box_new
g_arc_box_new0
g_arc_box_dup
g_arc_box_acquire
g_arc_box_release
g_arc_box_release_full
g_arc_box_get_size
</SECTION>

<SECTION>
<FILE>refstring</FILE>
g_ref_string_new
g_ref_string_new_intern
g_ref_string_acquire
g_ref_string_release
g_ref_string_length
</SECTION>
6 changes: 6 additions & 0 deletions glib/Makefile.am
Expand Up @@ -96,6 +96,7 @@ deprecated_sources = \
libglib_2_0_la_SOURCES = \
$(deprecated_sources) \
glib_probes.d \
garcbox.c \
garray.c \
gasyncqueue.c \
gasyncqueueprivate.h \
Expand Down Expand Up @@ -149,7 +150,10 @@ libglib_2_0_la_SOURCES = \
gquark.c \
gqueue.c \
grand.c \
grcbox.c \
grcboxprivate.h \
grefcount.c \
grefstring.c \
gregex.c \
gscanner.c \
gscripttable.h \
Expand Down Expand Up @@ -286,7 +290,9 @@ glibsubinclude_HEADERS = \
gquark.h \
gqueue.h \
grand.h \
grcbox.h \
grefcount.h \
grefstring.h \
gregex.h \
gscanner.h \
gsequence.h \
Expand Down

0 comments on commit 2585099

Please sign in to comment.