tree_sitter_highlight::c_lib

Function 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.