sdl3-bindgen-sys
Safe HaskellNone
LanguageGHC2021

SDL3.Sys.Bindgen.Guid.Unsafe

Synopsis

Documentation

sDL_GUIDToString Source #

Arguments

:: SDL_GUID
guid
the SDL_GUID you wish to convert to string.
-> Ptr CChar
pszGUID
buffer in which to write the ASCII string.
-> CInt
cbGUID
the size of pszGUID, should be at least 33 bytes.
-> IO () 

Get an ASCII string representation for a given SDL_GUID.

Thread safety
It is safe to call this function from any thread.
See also
sDL_StringToGUID
C declaration
SDL_GUIDToString, defined at SDL3/SDL_guid.h 80:34

Since: 3.2.0

sDL_StringToGUID Source #

Arguments

:: PtrConst CChar
pchGUID
string containing an ASCII representation of a GUID.
-> IO SDL_GUID 

Convert a GUID string into a SDL_GUID structure.

Performs no error checking. If this function is given a string containing an invalid GUID, the function will silently succeed, but the GUID generated will not be useful.

Returns
a SDL_GUID structure.
Thread safety
It is safe to call this function from any thread.
See also
sDL_GUIDToString
C declaration
SDL_StringToGUID, defined at SDL3/SDL_guid.h 98:38

Since: 3.2.0