ClassFinalizeFunc


Description:

[ CCode ( has_target = false ) ]
public delegate void ClassFinalizeFunc (TypeClass g_class, void* class_data)

A callback function used by the type system to finalize a class.

This function is rarely needed, as dynamically allocated class resources should be handled by BaseInitFunc and BaseFinalizeFunc.

Also, specification of a ClassFinalizeFunc in the TypeInfo structure of a static type is invalid, because classes of static types will never be finalized (they are artificially kept alive when their reference count drops to zero).

Parameters:

g_class

The TypeClass structure to finalize

class_data

The class_data member supplied via the TypeInfo structure


Namespace: GLib
Package: gobject-2.0