Function

GLibdatalist_clear

Declaration

void
g_datalist_clear (
  GData** datalist
)

Description

Frees all the data elements of the datalist. The data elements’ destroy functions are called if they have been set.

Parameters

datalist GData
 

A datalist.

 The data is owned by the caller of the function.