gclass_unregister()

gclass_unregister()#

Unregisters a gclass, freeing its allocated resources if no instances exist.

Prototype

void gclass_unregister(hgclass gclass);

Parameters

Key

Type

Description

gclass

hgclass

Handle to the gclass to be unregistered.


Return Value

None.

Notes

If instances of the gclass still exist, an error is logged and the gclass is not unregistered.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples