Function mupdf_sys::fz_runeptr

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

Obtain a pointer to the char representing the rune at a given index.

str: Pointer to beginning of a string.

idx: Index of a rune to return a char pointer to.

Returns a pointer to the char where the desired rune starts, or NULL if the string ends before the index is reached.