Next: Window Management, Up: API Reference [Contents][Index]
(use-modules (sdl2))
Initialize the SDL library. This must be called before using any other SDL procedure.
subsystems is an optional list of symbols that specifies the
subsystems to initialize. All subsystems are initialized by default.
The possible flags are timer
, audio
, video
,
haptic
, game-controller
, and events
.
Quit all activated SDL subsystems. This procedure should be called upon all exit conditions.
Return a three element list containing the major, minor, and patch version of the linked SDL library.
Return the number of milliseconds since the SDL library was initialized.