mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 22:46:15 +01:00
Merge branch 'gbytes-copy-free-func' into 'main'
GBytes: Add copy-func and free-func annotations See merge request GNOME/glib!4162
This commit is contained in:
commit
f8b230f593
@ -37,7 +37,7 @@
|
||||
#include <string.h>
|
||||
|
||||
/**
|
||||
* GBytes:
|
||||
* GBytes: (copy-func g_bytes_ref) (free-func g_bytes_unref)
|
||||
*
|
||||
* A simple refcounted data type representing an immutable sequence of zero or
|
||||
* more bytes from an unspecified origin.
|
||||
@ -609,4 +609,4 @@ g_bytes_get_region (GBytes *bytes,
|
||||
*/
|
||||
|
||||
return ((guchar *) bytes->data) + offset;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user