tree_sitter_highlight::c_lib

Function ts_highlighter_delete

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

Deletes a TSHighlighter instance.

ยงSafety

this must be non-null and must be a valid pointer to a TSHighlighter instance created by ts_highlighter_new.

It cannot be used after this function is called.