garray.h File Reference

__G_ARRAY_H__

Typedef GArray

typedef typedefG_BEGIN_DECLS struct _GArrayGArray

Typedef GByteArray

typedef struct _GByteArrayGByteArray

Typedef GPtrArray

typedef struct _GPtrArrayGPtrArray

g_array_append_val

g_array_prepend_val

g_array_insert_val

g_array_index

g_array_new ( gboolean, gboolean, guint )

IMPORT_C GArray *g_array_new(gbooleanzero_terminated,
gbooleanclear_,
guintelement_size
)

g_array_sized_new ( gboolean, gboolean, guint, guint )

IMPORT_C GArray *g_array_sized_new(gbooleanzero_terminated,
gbooleanclear_,
guintelement_size,
guintreserved_size
)

g_array_free ( GArray *, gboolean )

IMPORT_C gchar *g_array_free(GArray *array,
gbooleanfree_segment
)

g_array_append_vals ( GArray *, gconstpointer, guint )

IMPORT_C GArray *g_array_append_vals(GArray *array,
gconstpointerdata,
guintlen
)

g_array_prepend_vals ( GArray *, gconstpointer, guint )

IMPORT_C GArray *g_array_prepend_vals(GArray *array,
gconstpointerdata,
guintlen
)

g_array_insert_vals ( GArray *, guint, gconstpointer, guint )

IMPORT_C GArray *g_array_insert_vals(GArray *array,
guintindex_,
gconstpointerdata,
guintlen
)

g_array_set_size ( GArray *, guint )

IMPORT_C GArray *g_array_set_size(GArray *array,
guintlength
)

g_array_remove_index ( GArray *, guint )

IMPORT_C GArray *g_array_remove_index(GArray *array,
guintindex_
)

g_array_remove_index_fast ( GArray *, guint )

IMPORT_C GArray *g_array_remove_index_fast(GArray *array,
guintindex_
)

g_array_remove_range ( GArray *, guint, guint )

IMPORT_C GArray *g_array_remove_range(GArray *array,
guintindex_,
guintlength
)

g_array_sort ( GArray *, GCompareFunc )

IMPORT_C voidg_array_sort(GArray *array,
GCompareFunccompare_func
)

g_array_sort_with_data ( GArray *, GCompareDataFunc, gpointer )

IMPORT_C voidg_array_sort_with_data(GArray *array,
GCompareDataFunccompare_func,
gpointeruser_data
)

g_ptr_array_index

g_ptr_array_new ( void )

IMPORT_C GPtrArray *g_ptr_array_new(void)

g_ptr_array_sized_new ( guint )

IMPORT_C GPtrArray *g_ptr_array_sized_new(guintreserved_size)

g_ptr_array_free ( GPtrArray *, gboolean )

IMPORT_C gpointer *g_ptr_array_free(GPtrArray *array,
gbooleanfree_seg
)

g_ptr_array_set_size ( GPtrArray *, gint )

IMPORT_C voidg_ptr_array_set_size(GPtrArray *array,
gintlength
)

g_ptr_array_remove_index ( GPtrArray *, guint )

IMPORT_C gpointerg_ptr_array_remove_index(GPtrArray *array,
guintindex_
)

g_ptr_array_remove_index_fast ( GPtrArray *, guint )

IMPORT_C gpointerg_ptr_array_remove_index_fast(GPtrArray *array,
guintindex_
)

g_ptr_array_remove ( GPtrArray *, gpointer )

IMPORT_C gbooleang_ptr_array_remove(GPtrArray *array,
gpointerdata
)

g_ptr_array_remove_fast ( GPtrArray *, gpointer )

IMPORT_C gbooleang_ptr_array_remove_fast(GPtrArray *array,
gpointerdata
)

g_ptr_array_remove_range ( GPtrArray *, guint, guint )

IMPORT_C voidg_ptr_array_remove_range(GPtrArray *array,
guintindex_,
guintlength
)

g_ptr_array_add ( GPtrArray *, gpointer )

IMPORT_C voidg_ptr_array_add(GPtrArray *array,
gpointerdata
)

g_ptr_array_sort ( GPtrArray *, GCompareFunc )

IMPORT_C voidg_ptr_array_sort(GPtrArray *array,
GCompareFunccompare_func
)

g_ptr_array_sort_with_data ( GPtrArray *, GCompareDataFunc, gpointer )

IMPORT_C voidg_ptr_array_sort_with_data(GPtrArray *array,
GCompareDataFunccompare_func,
gpointeruser_data
)

g_ptr_array_foreach ( GPtrArray *, GFunc, gpointer )

IMPORT_C voidg_ptr_array_foreach(GPtrArray *array,
GFuncfunc,
gpointeruser_data
)

g_ptr_array_foreach: : a GPtrArray : the function to call for each array element : user data to pass to the function

Calls a function for each element of a GPtrArray.

Since: 2.4

g_byte_array_new ( void )

IMPORT_C GByteArray *g_byte_array_new(void)

g_byte_array_sized_new ( guint )

IMPORT_C GByteArray *g_byte_array_sized_new(guintreserved_size)

g_byte_array_free ( GByteArray *, gboolean )

IMPORT_C guint8 *g_byte_array_free(GByteArray *array,
gbooleanfree_segment
)

g_byte_array_append ( GByteArray *, const guint8 *, guint )

IMPORT_C GByteArray *g_byte_array_append(GByteArray *array,
const guint8 *data,
guintlen
)

g_byte_array_prepend ( GByteArray *, const guint8 *, guint )

IMPORT_C GByteArray *g_byte_array_prepend(GByteArray *array,
const guint8 *data,
guintlen
)

g_byte_array_set_size ( GByteArray *, guint )

IMPORT_C GByteArray *g_byte_array_set_size(GByteArray *array,
guintlength
)

g_byte_array_remove_index ( GByteArray *, guint )

IMPORT_C GByteArray *g_byte_array_remove_index(GByteArray *array,
guintindex_
)

g_byte_array_remove_index_fast ( GByteArray *, guint )

IMPORT_C GByteArray *g_byte_array_remove_index_fast(GByteArray *array,
guintindex_
)

g_byte_array_remove_range ( GByteArray *, guint, guint )

IMPORT_C GByteArray *g_byte_array_remove_range(GByteArray *array,
guintindex_,
guintlength
)

g_byte_array_sort ( GByteArray *, GCompareFunc )

IMPORT_C voidg_byte_array_sort(GByteArray *array,
GCompareFunccompare_func
)

g_byte_array_sort_with_data ( GByteArray *, GCompareDataFunc, gpointer )

IMPORT_C voidg_byte_array_sort_with_data(GByteArray *array,
GCompareDataFunccompare_func,
gpointeruser_data
)