Bikeshed this name a little bit.

This commit is contained in:
Patrick Thomson 2020-08-05 12:24:39 -04:00
parent 7576b0b448
commit ec6af791af
2 changed files with 2 additions and 2 deletions

View file

@ -89,7 +89,7 @@ uint32_t ts_tags_buffer_docs_len(const TSTagsBuffer *);
const char **ts_tagger_syntax_kinds_for_scope_name(const TSTagger *, const char *scope_name, uint32_t *len);
// Determine whether a parse error was encountered while tagging.
bool ts_tagger_errors_present();
bool ts_tags_buffer_found_parse_error();
#ifdef __cplusplus
}

View file

@ -222,7 +222,7 @@ pub extern "C" fn ts_tags_buffer_docs_len(this: *const TSTagsBuffer) -> u32 {
}
#[no_mangle]
pub extern "C" fn ts_tagger_errors_present(this: *const TSTagsBuffer) -> bool {
pub extern "C" fn ts_tags_buffer_found_parse_error(this: *const TSTagsBuffer) -> bool {
let buffer = unwrap_ptr(this);
buffer.errors_present
}