mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
GBytes: Add copy-func and free-func annotations
This commit is contained in:
parent
107b47226c
commit
9add21edfc
@ -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