Simple DirectMedia Layer - Syntax and Subsystems

Syntax and Subsystems

The syntax of SDL is function-based: all operations done in SDL are done by passing parameters to functions. Special structures are also used to store the specific information SDL needs to handle. There are a few different subsystems SDL categorizes its functions under:

  • The video, events and threads subsystem: this provides functions for video, multi-threading, and event handling
  • The audio subsystem: this provides functions for audio
  • The time subsystem
  • The joystick subsystem
  • The CD-ROM subsystem

Read more about this topic:  Simple DirectMedia Layer

Famous quotes containing the words syntax and:

    Syntax and vocabulary are overwhelming constraints—the rules that run us. Language is using us to talk—we think we’re using the language, but language is doing the thinking, we’re its slavish agents.
    Harry Mathews (b. 1930)