#[no_mangle]
pub unsafe extern "C" fn ts_highlight_buffer_content(
    this: *const TSHighlightBuffer
) -> *const u8
Expand description

Get the HTML content of a TSHighlightBuffer instance as a raw pointer.

§Safety

this must be non-null and must be a valid pointer to a TSHighlightBuffer instance created by ts_highlight_buffer_new.

The returned pointer, a C-style string, must not outlive the TSHighlightBuffer instance, else the data will point to garbage.

To get the length of the HTML content, use ts_highlight_buffer_len.