DataSet

Members

Aliases

foreac
alias foreac = foreach_
Undocumented in source.

Static functions

destroy
void destroy(void* datasetLocation)

Destroys the dataset, freeing all memory allocated, and calling any destroy functions set for data elements.

foreach_
void foreach_(void* datasetLocation, GDataForeachFunc func, void* userData)

Calls the given function for each data element which is associated with the given location. Note that this function is NOT thread-safe. So unless @dataset_location can be protected from any modifications during invocation of this function, it should not be called.

idGetData
void* idGetData(void* datasetLocation, GQuark keyId)

Gets the data element corresponding to a #GQuark.

idRemoveNoNotify
void* idRemoveNoNotify(void* datasetLocation, GQuark keyId)

Removes an element, without calling its destroy notification function.

idSetDataFull
void idSetDataFull(void* datasetLocation, GQuark keyId, void* data, GDestroyNotify destroyFunc)

Sets the data element associated with the given #GQuark id, and also the function to call when the data element is destroyed. Any previous data with the same key is removed, and its destroy function is called.

Meta