Method

GrlDataget_boxed

since: 0.2.0

Declaration [src]

gpointer
grl_data_get_boxed (
  GrlData* data,
  GrlKeyID key
)

Description [src]

Returns the first boxed value associated with key from data. If key has no first value, that value is not of a boxed type, or key is not in data, then NULL is returned.

Available since: 0.2.0

Parameters

key

Type: GrlKeyID

Key to use.

Return value

Type: gpointer

The boxed instance associated with key if possible, or NULL in other cases. The caller should not change nor free the value.

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