cfg_delete_item()

Delete the configuration tree starting at a node.

Synopsis:

#include <asr/cfg.h>
 
void cfg_delete_item(cfg_item_t *current)

Arguments:

current

A pointer to the configuration node. This pointer must not be NULL.

Library:

libasr

Description:

The cfg_delete_item() function destroys the tree rooted at current. It deletes the current node and all child nodes under it, freeing the associated memory.

Returns:

Nothing. No errors are logged.