Function mupdf_sys::fz_runeidx

source ·
pub unsafe extern "C" fn fz_runeidx(
    str_: *const c_char,
    p: *const c_char
) -> c_int
Expand description

Compute the index of a rune in a string.

str: Pointer to beginning of a string.

p: Pointer to a char in str.

Returns the index of the rune pointed to by p in str.