tree_sitter_highlight::c_lib

Function ts_highlight_buffer_delete

Source
#[no_mangle]
pub unsafe extern "C" fn ts_highlight_buffer_delete(
    this: *mut TSHighlightBuffer,
)
Expand description

Deletes 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

It cannot be used after this function is called.