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.

This function is not directly available to language bindings

Parameters

l

Type: -

The location identifying the dataset.

k

Type: -

The string to identify the data element.

d

Type: -

The data element.

f

Type: -

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.