sdl3-bindgen-sys
Safe HaskellNone
LanguageGHC2021

SDL3.Sys.Bindgen.StdincShims.Unsafe

Synopsis

Documentation

lithon_SDL_FOURCC Source #

Arguments

:: Uint8
a
the first ASCII character.
-> Uint8
b
the second ASCII character.
-> Uint8
c
the third ASCII character.
-> Uint8
d
the fourth ASCII character.
-> IO Uint32 

Define a four character code as a Uint32.

The SDL_FOURCC macro as a function.

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