Function Macro

GLibdataset_set_data_full

Declaration

#define g_dataset_set_data_full (
  l,
  k,
  d,
  f
)

Description

Sets the data corresponding to the given string identifier, and the function to call when the data element is destroyed.

Parameters

l none
 

The location identifying the dataset.

k none
 

The string to identify the data element.

d none
 

The data element.

f none
 

The function to call when the data element is removed. This function will be called with the data element and can be used to free any memory allocated for it.