Function

GLibdataset_id_get_data

Declaration

gpointer
g_dataset_id_get_data (
  gconstpointer dataset_location,
  GQuark key_id
)

Description

Gets the data element corresponding to a GQuark.

Parameters

dataset_location

Type: gconstpointer

The location identifying the dataset.

The data is owned by the caller of the function.
key_id

Type: GQuark

The GQuark id to identify the data element.

Return value

Type: gpointer

The data element corresponding to the GQuark, or NULL if it is not found.

The data is owned by the called function.
The return value can be NULL.