Function tree_sitter_c2rust::core::ts_set_allocator

source ·
pub unsafe fn ts_set_allocator(
    _new_malloc: Option<unsafe extern "C" fn(_: usize) -> *mut c_void>,
    _new_calloc: Option<unsafe extern "C" fn(_: usize, _: usize) -> *mut c_void>,
    _new_realloc: Option<unsafe extern "C" fn(_: *mut c_void, _: usize) -> *mut c_void>,
    _new_free: Option<unsafe extern "C" fn(_: *mut c_void)>
)