| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
SDL3.Sys.Bindgen.Guid.FunPtr
Documentation
sDL_GUIDToString :: FunPtr (SDL_GUID -> Ptr CChar -> CInt -> IO ()) Source #
Get an ASCII string representation for a given SDL_GUID.
guid- the
SDL_GUIDyou 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 atSDL3/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_GUIDstructure. - Thread safety
- It is safe to call this function from any thread.
- See also
sDL_GUIDToString- C declaration
SDL_StringToGUID, defined atSDL3/SDL_guid.h 98:38
Since: 3.2.0