Function mupdf_sys::fz_utflen[][src]

pub unsafe extern "C" fn fz_utflen(s: *const c_char) -> c_int

Count how many runes the UTF-8 encoded string consists of.

s: The UTF-8 encoded, NUL-terminated text string.

Returns the number of runes in the string.