summaryrefslogtreecommitdiff
path: root/src/search.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-03-06 17:00:33 +0100
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-03-06 17:00:33 +0100
commitd6ef32981a2402ec7b26c851ef13afd27a5582d8 (patch)
treedd46cdb68a9160b81bc7d958a307a9f7bfa8da77 /src/search.h
parent6a0f9d68555e0506a6aee42a5e25634196faf5a6 (diff)
free old results
Diffstat (limited to 'src/search.h')
-rw-r--r--src/search.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/search.h b/src/search.h
index fa0f2e2..a8aaf90 100644
--- a/src/search.h
+++ b/src/search.h
@@ -66,5 +66,6 @@ int ts_string_match(utf8_int8_t *first, utf8_int8_t *second);
ts_search_result* ts_create_empty_search_result();
bool ts_string_contains(utf8_int8_t *text_to_search, utf8_int8_t *text_to_find, ts_array *text_matches);
void ts_start_search(utf8_int8_t *path, utf8_int8_t *filter, utf8_int8_t *query, int thread_count, int max_file_size);
+void ts_destroy_result(ts_search_result* result);
#endif \ No newline at end of file