afc_stringnode_clone

Name

afc_stringnode_clone  -- Clones a StringNode creating a new one

Synopsis

StringNode * afc_stringnode_clone (StringNode * sn);

Description

this function copies all entries of a StringNode inside a new one. The new StringNode will result sorted and the internal array rappresentation is recreated in case that the original StringNode has these attributes set.

Inputs

sn

an handler to an already allocated StringNode structure.

Result

a pointer to a valid new StringNode object, or NULL if an error occurred.

Note

See Also