sdl3-bindgen-sys
Safe HaskellNone
LanguageGHC2021

SDL3.Sys.Bindgen.StdincShims.FunPtr

Synopsis

Documentation

lithon_SDL_FOURCC :: FunPtr (Uint8 -> Uint8 -> Uint8 -> Uint8 -> IO Uint32) Source #

Define a four character code as a Uint32.

The SDL_FOURCC macro as a function.

a
the first ASCII character.
b
the second ASCII character.
c
the third ASCII character.
d
the fourth ASCII character.
Returns
the four characters converted into a Uint32, one character per-byte.
Thread safety
It is safe to call this function from any thread.
C declaration
lithon_SDL_FOURCC, defined at sdl3-bindgen-sys/SDL_stdinc_shims.h 40:26

Since: 3.2.0