Function Macro

GLibdatalist_id_set_data

Declaration

#define g_datalist_id_set_data (
  dl,
  q,
  d
)

Description

Sets the data corresponding to the given GQuark id. Any previous data with the same key is removed, and its destroy function is called.

Parameters

dl none
 

A datalist.

q none
 

The GQuark to identify the data element.

d none
 

The data element, or NULL to remove any previous element corresponding to q.