gobj_destroy_childs()

gobj_destroy_childs()#

Destroys all child objects of the given hgobj, ensuring proper cleanup and deallocation.

Prototype

void gobj_destroy_childs(
    hgobj   gobj
);

Parameters

Key

Type

Description

gobj

hgobj

The parent object whose child objects will be destroyed.


Return Value

This function does not return a value.

Notes

Each child object is destroyed using gobj_destroy(). If a child is already destroyed or in the process of being destroyed, an error is logged.

Prototype

// Not applicable in JS

Prototype

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