Function mupdf_sys::fz_chartorune[][src]

pub unsafe extern "C" fn fz_chartorune(
    rune: *mut c_int,
    str_: *const c_char
) -> c_int

UTF8 decode a single rune from a sequence of chars.

rune: Pointer to an int to assign the decoded ‘rune’ to.

str: Pointer to a UTF8 encoded string.

Returns the number of bytes consumed.