GLib.datalist_clear
Description: Reference for GLib.datalist_clear

### Function

# GLibdatalist_clear

#### Declaration [src]

    void
    g_datalist_clear (
      GData** datalist
    )

#### Description [src]

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

This function is not directly available to language bindings.

#### Parameters

`datalist`

  Type: `GData`

  A datalist.

  The data is owned by the caller of the function.