Add length accessor for GRefString

Since we store the size of the allocation in the underlying ArcBox, we
can get a constant time getter for the length of the string.
This commit is contained in:
Emmanuele Bassi
2018-06-12 14:05:02 +01:00
parent 43b7a8f158
commit 32ecb86f5b
4 changed files with 23 additions and 0 deletions

View File

@@ -3499,4 +3499,5 @@ g_ref_string_new
g_ref_string_new_intern
g_ref_string_acquire
g_ref_string_release
g_ref_string_length
</SECTION>