sdl3-bindgen-sys
Safe HaskellNone
LanguageGHC2021

SDL3.Sys.Bindgen.Guid.FunPtr

Synopsis

Documentation

sDL_GUIDToString :: FunPtr (SDL_GUID -> Ptr CChar -> CInt -> IO ()) Source #

Get an ASCII string representation for a given SDL_GUID.

guid
the SDL_GUID you wish to convert to string.
pszGUID
buffer in which to write the ASCII string.
cbGUID
the size of pszGUID, should be at least 33 bytes.
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 :: FunPtr (PtrConst CChar -> IO SDL_GUID) Source #

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.

pchGUID
string containing an ASCII representation of a GUID.
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