package sfml

  1. Overview
  2. Docs

Online documentation for the system module

type time_src = [
  1. | `of_microseconds of int64
  2. | `of_milliseconds of int32
  3. | `of_seconds of float
  4. | `of_sfTime of SFTime.t
]
class time : time_src -> object ... end
module Time : sig ... end
val sleep : duration:time -> unit
type time_as = [
  1. | `microseconds
  2. | `milliseconds
  3. | `seconds
]
class clock : object ... end
class pausable_clock : paused:bool -> object ... end
val config : < compiled_version : int * int >