Add clear functions to table and trie.
This commit is contained in:
@@ -134,6 +134,11 @@ libab_result libab_table_put(libab_table* table, const char* string,
|
||||
* @param parent a valid reference to a parent table.
|
||||
*/
|
||||
void libab_table_set_parent(libab_table* table, libab_ref* parent);
|
||||
/**
|
||||
* Clears the table.
|
||||
* @param table the table to clear.
|
||||
*/
|
||||
void libab_table_clear(libab_table* table);
|
||||
/**
|
||||
* Frees the resources allocated by the
|
||||
* given table.
|
||||
|
||||
Reference in New Issue
Block a user