Constructor

GrlRelatedKeysnew_valist

since: 0.1.10

Declaration [src]

GrlRelatedKeys*
grl_related_keys_new_valist (
  GrlKeyID key,
  va_list args
)

Description [src]

Creates a new GrlRelatedKeys containing pairs of (key, value). Finish the list with NULL.

In case of a binary-type key, the expected element is (key, value, size).

value type will be extracted from key information.

Available since: 0.1.10

This method is not directly available to language bindings.

Parameters

key

Type: GrlKeyID

First key.

args

Type: va_list

va_list of value, followed by (key,value) pairs to insert.

Return value

Type: GrlRelatedKeys

A new GrlRelatedKeys.

The caller of the function takes ownership of the data, and is responsible for freeing it.