gobj_is_destroying()

gobj_is_destroying()#

Checks if the given hgobj is in the process of being destroyed or has already been destroyed.

Prototype

BOOL gobj_is_destroying(hgobj gobj);

Parameters

Key

Type

Description

gobj

hgobj

The hgobj instance to check.


Return Value

Returns TRUE if the hgobj is being destroyed or has already been destroyed, otherwise returns FALSE.

Notes

This function is useful for preventing operations on objects that are no longer valid.

Prototype

// Not applicable in JS

Prototype

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