typedef typedefG_BEGIN_DECLS struct _GData | GData |
typedef void(* | GDataForeachFunc |
IMPORT_C void | g_datalist_init | ( | GData ** | datalist | ) |
IMPORT_C void | g_datalist_clear | ( | GData ** | datalist | ) |
IMPORT_C void | g_datalist_id_set_data_full | ( | GData ** | datalist, |
GQuark | key_id, | |||
gpointer | data, | |||
GDestroyNotify | destroy_func | |||
) |
IMPORT_C void | g_datalist_foreach | ( | GData ** | datalist, |
GDataForeachFunc | func, | |||
gpointer | user_data | |||
) |
G_DATALIST_FLAGS_MASK:
A bitmask that restricts the possible flags passed to g_datalist_set_flags(). Passing a flags value where flags & ~G_DATALIST_FLAGS_MASK != 0 is an error.
g_datalist_set_flags: : pointer to the location that holds a list : the flags to turn on. The values of the flags are restricted by G_DATALIST_FLAGS_MASK (currently 3; giving two possible boolean flags). A value for that doesn't fit within the mask is an error.
Turns on flag values for a data list. This function is used to keep a small number of boolean flags in an object with a data list without using any additional space. It is not generally useful except in circumstances where space is very tight. (It is used in the base #GObject type, for example.)
Since: 2.8
g_datalist_unset_flags: : pointer to the location that holds a list : the flags to turn off. The values of the flags are restricted by G_DATALIST_FLAGS_MASK (currently 3: giving two possible boolean flags). A value for that doesn't fit within the mask is an error.
Turns off flag values for a data list. See g_datalist_unset_flags()
Since: 2.8
g_datalist_get_flags: : pointer to the location that holds a list
Gets flags values packed in together with the datalist. See g_datalist_set_flags().
Return value: the flags of the datalist
Since: 2.8
IMPORT_C void | g_dataset_destroy | ( | gconstpointer | dataset_location | ) |
IMPORT_C gpointer | g_dataset_id_get_data | ( | gconstpointer | dataset_location, |
GQuark | key_id | |||
) |
IMPORT_C void | g_dataset_id_set_data_full | ( | gconstpointer | dataset_location, |
GQuark | key_id, | |||
gpointer | data, | |||
GDestroyNotify | destroy_func | |||
) |
IMPORT_C gpointer | g_dataset_id_remove_no_notify | ( | gconstpointer | dataset_location, |
GQuark | key_id | |||
) |
IMPORT_C void | g_dataset_foreach | ( | gconstpointer | dataset_location, |
GDataForeachFunc | func, | |||
gpointer | user_data | |||
) |