From 1e191607c478f2d6d78ae2b80855d05f877bd8bb Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Fri, 15 Mar 2024 23:09:25 +0100 Subject: NULL > nullptr --- src/search.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/search.h') diff --git a/src/search.h b/src/search.h index ac4a3eb..27c7f04 100644 --- a/src/search.h +++ b/src/search.h @@ -1,5 +1,4 @@ -#ifndef INCLUDE_SEARCH -#define INCLUDE_SEARCH +#pragma once #include "array.h" #include "memory_bucket.h" @@ -70,5 +69,3 @@ 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, bool respect_capitalization); void ts_start_search(utf8_int8_t *path, utf8_int8_t *filter, utf8_int8_t *query, uint16_t thread_count, uint32_t max_file_size, bool respect_capitalization); void ts_destroy_result(ts_search_result* result); - -#endif \ No newline at end of file -- cgit v1.2.3-70-g09d2