diff options
| author | Stefan Kangas | 2023-02-02 06:30:28 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2023-02-02 06:30:28 +0100 |
| commit | 0571a3cc87f7c449796bb3eef38af4b2719b0bdf (patch) | |
| tree | 18b41402977f6200ca563b348e98ca3a82d04203 /src | |
| parent | c831f55b234725a99f908656f996f3e6addc8825 (diff) | |
| parent | 9715715ac163fc0b3ce6e170eb9c74b5f4ad8267 (diff) | |
| download | emacs-0571a3cc87f7c449796bb3eef38af4b2719b0bdf.tar.gz emacs-0571a3cc87f7c449796bb3eef38af4b2719b0bdf.zip | |
Merge from origin/emacs-29
9715715ac16 (eshell--complete-commands-list): Fix regression in fix t...
ea1bb263153 * doc/emacs/basic.texi (Repeating): Mention describe-repe...
f91bf9df892 Unbreak the MS-Windows build
Diffstat (limited to 'src')
| -rw-r--r-- | src/treesit.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/treesit.c b/src/treesit.c index b163685419f..405aec1f47e 100644 --- a/src/treesit.c +++ b/src/treesit.c | |||
| @@ -72,6 +72,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ | |||
| 72 | #undef ts_query_cursor_set_byte_range | 72 | #undef ts_query_cursor_set_byte_range |
| 73 | #undef ts_query_delete | 73 | #undef ts_query_delete |
| 74 | #undef ts_query_new | 74 | #undef ts_query_new |
| 75 | #undef ts_query_pattern_count | ||
| 75 | #undef ts_query_predicates_for_pattern | 76 | #undef ts_query_predicates_for_pattern |
| 76 | #undef ts_query_string_value_for_id | 77 | #undef ts_query_string_value_for_id |
| 77 | #undef ts_set_allocator | 78 | #undef ts_set_allocator |
| @@ -135,6 +136,7 @@ DEF_DLL_FN (void, ts_query_cursor_set_byte_range, | |||
| 135 | DEF_DLL_FN (void, ts_query_delete, (TSQuery *)); | 136 | DEF_DLL_FN (void, ts_query_delete, (TSQuery *)); |
| 136 | DEF_DLL_FN (TSQuery *, ts_query_new, | 137 | DEF_DLL_FN (TSQuery *, ts_query_new, |
| 137 | (const TSLanguage *, const char *, uint32_t, uint32_t *, TSQueryError *)); | 138 | (const TSLanguage *, const char *, uint32_t, uint32_t *, TSQueryError *)); |
| 139 | DEF_DLL_FN (uint32_t, ts_query_pattern_count, (const TSQuery *)); | ||
| 138 | DEF_DLL_FN (const TSQueryPredicateStep *, ts_query_predicates_for_pattern, | 140 | DEF_DLL_FN (const TSQueryPredicateStep *, ts_query_predicates_for_pattern, |
| 139 | ( const TSQuery *, uint32_t, uint32_t *)); | 141 | ( const TSQuery *, uint32_t, uint32_t *)); |
| 140 | DEF_DLL_FN (const char *, ts_query_string_value_for_id, | 142 | DEF_DLL_FN (const char *, ts_query_string_value_for_id, |
| @@ -200,6 +202,7 @@ init_treesit_functions (void) | |||
| 200 | LOAD_DLL_FN (library, ts_query_cursor_set_byte_range); | 202 | LOAD_DLL_FN (library, ts_query_cursor_set_byte_range); |
| 201 | LOAD_DLL_FN (library, ts_query_delete); | 203 | LOAD_DLL_FN (library, ts_query_delete); |
| 202 | LOAD_DLL_FN (library, ts_query_new); | 204 | LOAD_DLL_FN (library, ts_query_new); |
| 205 | LOAD_DLL_FN (library, ts_query_pattern_count); | ||
| 203 | LOAD_DLL_FN (library, ts_query_predicates_for_pattern); | 206 | LOAD_DLL_FN (library, ts_query_predicates_for_pattern); |
| 204 | LOAD_DLL_FN (library, ts_query_string_value_for_id); | 207 | LOAD_DLL_FN (library, ts_query_string_value_for_id); |
| 205 | LOAD_DLL_FN (library, ts_set_allocator); | 208 | LOAD_DLL_FN (library, ts_set_allocator); |
| @@ -256,6 +259,7 @@ init_treesit_functions (void) | |||
| 256 | #define ts_query_cursor_set_byte_range fn_ts_query_cursor_set_byte_range | 259 | #define ts_query_cursor_set_byte_range fn_ts_query_cursor_set_byte_range |
| 257 | #define ts_query_delete fn_ts_query_delete | 260 | #define ts_query_delete fn_ts_query_delete |
| 258 | #define ts_query_new fn_ts_query_new | 261 | #define ts_query_new fn_ts_query_new |
| 262 | #define ts_query_pattern_count fn_ts_query_pattern_count | ||
| 259 | #define ts_query_predicates_for_pattern fn_ts_query_predicates_for_pattern | 263 | #define ts_query_predicates_for_pattern fn_ts_query_predicates_for_pattern |
| 260 | #define ts_query_string_value_for_id fn_ts_query_string_value_for_id | 264 | #define ts_query_string_value_for_id fn_ts_query_string_value_for_id |
| 261 | #define ts_set_allocator fn_ts_set_allocator | 265 | #define ts_set_allocator fn_ts_set_allocator |