函数
GLibdataset_id_set_data_full
声明 [src]
void
g_dataset_id_set_data_full (
gconstpointer dataset_location,
GQuark key_id,
gpointer data,
GDestroyNotify destroy_func
)
参数
dataset_location-
类型:
gconstpointer标识数据集的位置。
数据由函数调用者所有。 key_id-
类型:
GQuark用于标识数据元素的
GQuarkid。 data-
类型:
gpointer数据元素。
参数可以为 NULL。数据由函数调用者所有。 destroy_func-
类型:
GDestroyNotify在删除数据元素时要调用的函数。此函数将使用此数据元素来调用,可以用来释放为其分配的任何内存。