diff options
| author | Yuan Fu | 2023-01-17 09:37:04 -0800 |
|---|---|---|
| committer | Yuan Fu | 2023-01-17 22:32:39 -0800 |
| commit | bdd82fa7977570160523cdce907f1b5d2c786359 (patch) | |
| tree | f9de7ce0a22323bf4d59db99a70ae33dbd598528 /src | |
| parent | 343b9b3dfe370a7e65d499b499621f87e722ea71 (diff) | |
| download | emacs-bdd82fa7977570160523cdce907f1b5d2c786359.tar.gz emacs-bdd82fa7977570160523cdce907f1b5d2c786359.zip | |
; * src/treesit.c: Remove unused boilerplate.
These two functions are not used after 7c61a304104.
Diffstat (limited to 'src')
| -rw-r--r-- | src/treesit.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/treesit.c b/src/treesit.c index 644d323d5cb..917db582676 100644 --- a/src/treesit.c +++ b/src/treesit.c | |||
| @@ -42,8 +42,6 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ | |||
| 42 | #undef ts_node_end_byte | 42 | #undef ts_node_end_byte |
| 43 | #undef ts_node_eq | 43 | #undef ts_node_eq |
| 44 | #undef ts_node_field_name_for_child | 44 | #undef ts_node_field_name_for_child |
| 45 | #undef ts_node_first_child_for_byte | ||
| 46 | #undef ts_node_first_named_child_for_byte | ||
| 47 | #undef ts_node_has_error | 45 | #undef ts_node_has_error |
| 48 | #undef ts_node_is_extra | 46 | #undef ts_node_is_extra |
| 49 | #undef ts_node_is_missing | 47 | #undef ts_node_is_missing |
| @@ -99,8 +97,6 @@ DEF_DLL_FN (TSNode, ts_node_descendant_for_byte_range, | |||
| 99 | DEF_DLL_FN (uint32_t, ts_node_end_byte, (TSNode)); | 97 | DEF_DLL_FN (uint32_t, ts_node_end_byte, (TSNode)); |
| 100 | DEF_DLL_FN (bool, ts_node_eq, (TSNode, TSNode)); | 98 | DEF_DLL_FN (bool, ts_node_eq, (TSNode, TSNode)); |
| 101 | DEF_DLL_FN (const char *, ts_node_field_name_for_child, (TSNode, uint32_t)); | 99 | DEF_DLL_FN (const char *, ts_node_field_name_for_child, (TSNode, uint32_t)); |
| 102 | DEF_DLL_FN (TSNode, ts_node_first_child_for_byte, (TSNode, uint32_t)); | ||
| 103 | DEF_DLL_FN (TSNode, ts_node_first_named_child_for_byte, (TSNode, uint32_t)); | ||
| 104 | DEF_DLL_FN (bool, ts_node_has_error, (TSNode)); | 100 | DEF_DLL_FN (bool, ts_node_has_error, (TSNode)); |
| 105 | DEF_DLL_FN (bool, ts_node_is_extra, (TSNode)); | 101 | DEF_DLL_FN (bool, ts_node_is_extra, (TSNode)); |
| 106 | DEF_DLL_FN (bool, ts_node_is_missing, (TSNode)); | 102 | DEF_DLL_FN (bool, ts_node_is_missing, (TSNode)); |
| @@ -174,8 +170,6 @@ init_treesit_functions (void) | |||
| 174 | LOAD_DLL_FN (library, ts_node_end_byte); | 170 | LOAD_DLL_FN (library, ts_node_end_byte); |
| 175 | LOAD_DLL_FN (library, ts_node_eq); | 171 | LOAD_DLL_FN (library, ts_node_eq); |
| 176 | LOAD_DLL_FN (library, ts_node_field_name_for_child); | 172 | LOAD_DLL_FN (library, ts_node_field_name_for_child); |
| 177 | LOAD_DLL_FN (library, ts_node_first_child_for_byte); | ||
| 178 | LOAD_DLL_FN (library, ts_node_first_named_child_for_byte); | ||
| 179 | LOAD_DLL_FN (library, ts_node_has_error); | 173 | LOAD_DLL_FN (library, ts_node_has_error); |
| 180 | LOAD_DLL_FN (library, ts_node_is_extra); | 174 | LOAD_DLL_FN (library, ts_node_is_extra); |
| 181 | LOAD_DLL_FN (library, ts_node_is_missing); | 175 | LOAD_DLL_FN (library, ts_node_is_missing); |
| @@ -232,8 +226,6 @@ init_treesit_functions (void) | |||
| 232 | #define ts_node_end_byte fn_ts_node_end_byte | 226 | #define ts_node_end_byte fn_ts_node_end_byte |
| 233 | #define ts_node_eq fn_ts_node_eq | 227 | #define ts_node_eq fn_ts_node_eq |
| 234 | #define ts_node_field_name_for_child fn_ts_node_field_name_for_child | 228 | #define ts_node_field_name_for_child fn_ts_node_field_name_for_child |
| 235 | #define ts_node_first_child_for_byte fn_ts_node_first_child_for_byte | ||
| 236 | #define ts_node_first_named_child_for_byte fn_ts_node_first_named_child_for_byte | ||
| 237 | #define ts_node_has_error fn_ts_node_has_error | 229 | #define ts_node_has_error fn_ts_node_has_error |
| 238 | #define ts_node_is_extra fn_ts_node_is_extra | 230 | #define ts_node_is_extra fn_ts_node_is_extra |
| 239 | #define ts_node_is_missing fn_ts_node_is_missing | 231 | #define ts_node_is_missing fn_ts_node_is_missing |