Function SDL_iconv_utf8_ucs4
pub unsafe fn SDL_iconv_utf8_ucs4(S: *const i8) -> *mut u32
Available on crate feature
dep_sdl3
only.Expand description
Convert a UTF-8 string to UCS-4.
This is a helper macro that might be more clear than calling
SDL_iconv_string
directly. However, it double-evaluates its parameter, so
do not use an expression with side-effects here.
§Parameters
S
: the string to convert.
§Return value
Returns a new string, converted to the new encoding, or NULL on error.
§Availability
This macro is available since SDL 3.2.0.