cfg_detach_item()

Detach an item from its current parent.

Synopsis:

#include <asr/cfg.h>
 
cfg_item_t* cfg_detach_item(cfg_item_t *item)

Arguments:

item

A pointer to the item to detach.

Library:

libasr

Description:

The cfg_attach_item() function detaches the specified configuration item (item) from its parent and corrects any references in the list of siblings, if any.

Returns:

A pointer to the item.