Change the return type of pattern_free.
This commit is contained in:
parent
961136a41b
commit
54670a1f32
|
@ -163,7 +163,9 @@ typedef struct pattern_chain_s pattern_chain;
|
||||||
liblex_result pattern_compile(pattern_node** root, char* expression);
|
liblex_result pattern_compile(pattern_node** root, char* expression);
|
||||||
/**
|
/**
|
||||||
* Frees a pattern NFA allocated by pattern_compile.
|
* Frees a pattern NFA allocated by pattern_compile.
|
||||||
|
* @param root the root node to start freeing from.
|
||||||
|
* @return LIBLEX_SUCCESS if all goes well, otherwise some other liblex_result.
|
||||||
*/
|
*/
|
||||||
void pattern_free(pattern_node* root);
|
liblex_result pattern_free(pattern_node* root);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user