sdlIconvClose function
This function frees a context used for character set conversion.
\param cd The character set conversion handle. \returns 0 on success, or -1 on failure.
\since This function is available since SDL 3.1.3.
\sa SDL_iconv \sa SDL_iconv_open \sa SDL_iconv_string
extern SDL_DECLSPEC int SDLCALL SDL_iconv_close(SDL_iconv_t cd)
Implementation
int sdlIconvClose(Pointer<SdlIconvT> cd) {
final sdlIconvCloseLookupFunction = libSdl3.lookupFunction<
Int32 Function(Pointer<SdlIconvT> cd),
int Function(Pointer<SdlIconvT> cd)>('SDL_iconv_close');
return sdlIconvCloseLookupFunction(cd);
}