alias GObject::TypeValueFreeFunc

Overview

Frees any old contents that might be left in the value->data array of the given value.

No resources may remain allocated through the #GValue contents after this function returns. E.g. for our above string type:

|[ // only free strings without a specific flag for static storage if (!(value->data[1].v_uint & G_VALUE_NOCOPY_CONTENTS)) g_free (value->data[0].v_pointer); ]|

Alias Definition

GObject::Value -> Nil

Defined in:

lib/gi-crystal/src/auto/g_object-2.0/g_object.cr