ocamlsdl - Objective Caml interface for the SDL library Copyright (C) 1999- Jean-Christophe FILLIATRE REQUIREMENTS ============ You need OCaml version 3.00 or later and the SDL library (Simple DirectMedia Layer), which is available at http://www.libsdl.org/ INSTALL ======= See the enclosed file INSTALL. USE === To compile an O'Caml program that uses the ocamlsdl library, do ocamlc -custom sdl.cma or ocamlopt sdl.cmxa If you need to link SDL statically just add "-ccopt -static". DOCUMENTATION ============= See the doc of the SDL library (available on-line, and released with the sources). The ocaml functions have basically the same names as the C ones (the suffix SDL_ is removed, and uppercase letters are turned into lowercase ones, separated by underscores; for instance, SDL_UpdateRects becomes SDL.update_rects). See the file sdl.mli.