xila_string_span

Function xila_string_span 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn xila_string_span( s: *const c_char, accept: *const c_char, ) -> usize
Expand description

Get length of initial segment of string that consists of accept characters

ยงSafety

This function is unsafe because it dereferences raw pointers.