Method

GrlRelatedKeysget_boxed

since: 0.2.0

Declaration [src]

gconstpointer
grl_related_keys_get_boxed (
  GrlRelatedKeys* relkeys,
  GrlKeyID key
)

Description [src]

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

Available since: 0.2.0

Parameters

key

Type: GrlKeyID

Key to use.

Return value

Type: gconstpointer

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

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