mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-12-02 06:47:13 +01:00
GBytes: add a size argument to g_bytes_get_data
* An out size argument so that this is more easily bindable by gobject-introspection. https://bugzilla.gnome.org/show_bug.cgi?id=665879
This commit is contained in:
@@ -45,7 +45,8 @@ GBytes * g_bytes_new_from_bytes (GBytes *bytes,
|
||||
gsize offset,
|
||||
gsize length);
|
||||
|
||||
gconstpointer g_bytes_get_data (GBytes *bytes);
|
||||
gconstpointer g_bytes_get_data (GBytes *bytes,
|
||||
gsize *size);
|
||||
|
||||
gsize g_bytes_get_size (GBytes *bytes);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user