tree_sitter::ffi

Function ts_language_version

Source
pub unsafe extern "C" fn ts_language_version(
    self_: *const TSLanguage,
) -> u32
Expand description

Get the ABI version number for this language. This version number is used to ensure that languages were generated by a compatible version of Tree-sitter.

See also ts_parser_set_language.