Function 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)>,
)