sdlGuidToString function
Get an ASCII string representation for a given ::SDL_GUID.
You should supply at least 33 bytes for pszGUID.
\param guid the ::SDL_GUID you wish to convert to string \param pszGUID buffer in which to write the ASCII string \param cbGUID the size of pszGUID
\since This function is available since SDL 2.24.0.
\sa SDL_GUIDFromString
extern DECLSPEC void SDLCALL SDL_GUIDToString(SDL_GUID guid, char *pszGUID, int cbGUID)
Implementation
void sdlGuidToString(SdlGuid guid, Pointer<Int8> pszGuid, int cbGuid) {
final sdlGuidToStringLookupFunction = libSdl2.lookupFunction<
Void Function(SdlGuid guid, Pointer<Int8> pszGuid, Int32 cbGuid),
void Function(
SdlGuid guid, Pointer<Int8> pszGuid, int cbGuid)>('SDL_GUIDToString');
return sdlGuidToStringLookupFunction(guid, pszGuid, cbGuid);
}