[][src]Function sdl2_sys::SDL_iconv_string

pub unsafe extern "C" fn SDL_iconv_string(
    tocode: *const c_char,
    fromcode: *const c_char,
    inbuf: *const c_char,
    inbytesleft: size_t
) -> *mut c_char

This function converts a string between encodings in one pass, returning a string that must be freed with SDL_free() or NULL on error.