Function
GObjectWeakRefclear
since: 2.32
Description
Frees resources associated with a non-statically-allocated GWeakRef.
After this call, the GWeakRef is left in an undefined state.
You should only call this on a GWeakRef that previously had
g_weak_ref_init() called on it.
Available since: 2.32
This function is not directly available to language bindings.
Parameters
weak_ref-
Type:
GWeakRefLocation of a weak reference, which may be empty.
The argument will be modified by the function. The caller of the function takes ownership of the returned data, and is responsible for freeing it.