mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-25 18:39:00 +02:00
Add a g_ref_string_new_len() to allow creating from non-NUL byte arrays
A lot of GLib APIs provide a string length and explicitly say that the strings are not NUL terminated. For instance, parsing XML using GMarkupParser or reading packed binary strings from mmapped data files.
This commit is contained in:
@@ -3497,6 +3497,7 @@ g_arc_box_get_size
|
||||
<FILE>refstring</FILE>
|
||||
g_ref_string_new
|
||||
g_ref_string_new_intern
|
||||
g_ref_string_new_len
|
||||
g_ref_string_acquire
|
||||
g_ref_string_release
|
||||
g_ref_string_length
|
||||
|
Reference in New Issue
Block a user