datasetForeach

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.

func can make changes to the dataset, but the iteration will not reflect changes made during the glib.global.datasetForeach call, other than skipping over elements that are removed.

void
datasetForeach

Parameters

datasetLocation const(void)*

the location identifying the dataset.

func glib.types.DataForeachFunc

the function to call for each data element.