Function tree_sitter_highlight::c_lib::ts_highlight_buffer_len
source · #[no_mangle]
pub unsafe extern "C" fn ts_highlight_buffer_len(
this: *const TSHighlightBuffer
) -> u32
Expand description
Get the length of the HTML content of a TSHighlightBuffer
instance.
§Safety
this
must be non-null and must be a valid pointer to a TSHighlightBuffer
instance
created by ts_highlight_buffer_new
.