mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-21 08:28:53 +02:00
GBytes: Add copy-func and free-func annotations
This commit is contained in:
@@ -37,7 +37,7 @@
|
|||||||
#include <string.h>
|
#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
|
* A simple refcounted data type representing an immutable sequence of zero or
|
||||||
* more bytes from an unspecified origin.
|
* more bytes from an unspecified origin.
|
||||||
@@ -609,4 +609,4 @@ g_bytes_get_region (GBytes *bytes,
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
return ((guchar *) bytes->data) + offset;
|
return ((guchar *) bytes->data) + offset;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user