Function SDL_iconv_open
pub unsafe extern "C" fn SDL_iconv_open(
tocode: *const i8,
fromcode: *const i8,
) -> *mut SDL_iconv_data_t
Available on crate feature
dep_sdl3
only.Expand description
This function allocates a context for the specified character set conversion.
§Parameters
tocode
: The target character encoding, must not be NULL.fromcode
: The source character encoding, must not be NULL.
§Return value
Returns a handle that must be freed with SDL_iconv_close
, or
SDL_ICONV_ERROR
on failure.
§Availability
This function is available since SDL 3.2.0.