-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathgobject__GByteArray.if
More file actions
31 lines (30 loc) · 2.11 KB
/
gobject__GByteArray.if
File metadata and controls
31 lines (30 loc) · 2.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
struct GByteArray;
inherit object;
GByteArray * g_byte_array_new (void);
GByteArray * g_byte_array_new_take (guint8 *data,
gsize len);
GByteArray * g_byte_array_sized_new (guint reserved_size);
GByteArray * g_byte_array_ref (GByteArray *array);
void g_byte_array_unref (GByteArray *array);
GByteArray * g_byte_array_append (GByteArray *array,
const guint8 *data,
guint len);
GByteArray * g_byte_array_prepend (GByteArray *array,
const guint8 *data,
guint len);
GByteArray * g_byte_array_remove_index (GByteArray *array,
guint index_);
GByteArray * g_byte_array_remove_index_fast (GByteArray *array,
guint index_);
GByteArray * g_byte_array_remove_range (GByteArray *array,
guint index_,
guint length);
void g_byte_array_sort (GByteArray *array,
GCompareFunc compare_func);
void g_byte_array_sort_with_data (GByteArray *array,
GCompareDataFunc compare_func,
gpointer user_data);
GByteArray * g_byte_array_set_size (GByteArray *array,
guint length);
guint8 * g_byte_array_free (GByteArray *array,
gboolean free_segment);