ocamlsdl

Interface between OCaml and SDL
IN THIS PACKAGE
Module Sdl
exception SDL_init_exception of string
type subsystem = [
| `AUDIO
| `CDROM
| `JOYSTICK
| `TIMER
| `VIDEO
]
val init : ?auto_clean:bool -> [< `AUDIO | `CDROM | `EVENTTHREAD | `EVERYTHING | `JOYSTICK | `NOPARACHUTE | `TIMER | `VIDEO ] list -> unit
val init_subsystem : subsystem list -> unit
val was_init : unit -> subsystem list
val quit : unit -> unit
val quit_subsystem : subsystem list -> unit
type version = {
major : int;
minor : int;
patch : int;
}
val version : unit -> version
val string_of_version : version -> string
val getenv : string -> string
val putenv : string -> string -> unit
type rwops_in
val rwops_from_mem : string -> rwops_in
val rwops_in_close : rwops_in -> unit