Function

GObjecttype_set_qdata

Declaration [src]

void
g_type_set_qdata (
  GType type,
  GQuark quark,
  gpointer data
)

Description [src]

Attaches arbitrary data to a type.

Parameters

type

Type: GType

A GType.

quark

Type: GQuark

A GQuark id to identify the data.

data

Type: gpointer

The data.

The argument can be NULL.
The data is owned by the caller of the function.