Handle allocation failures when copying tree arrays
This commit is contained in:
parent
f77c08eff5
commit
2109f0ed74
4 changed files with 22 additions and 18 deletions
|
|
@ -46,7 +46,7 @@ typedef struct TSTree {
|
|||
} TSTree;
|
||||
|
||||
typedef Array(TSTree *) TreeArray;
|
||||
TreeArray ts_tree_array_copy(TreeArray *);
|
||||
bool ts_tree_array_copy(TreeArray, TreeArray *);
|
||||
void ts_tree_array_delete(TreeArray *);
|
||||
size_t ts_tree_array_essential_count(const TreeArray *);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue