/usr/lib/ocaml/camlimages/util.mli is in libcamlimages-ocaml-dev 1:4.2.0-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | (***********************************************************************)
(* *)
(* CamlImages *)
(* *)
(* Franč¼is Pessaux, projet Cristal, INRIA Rocquencourt *)
(* Pierre Weis, projet Cristal, INRIA Rocquencourt *)
(* Jun Furuse, projet Cristal, INRIA Rocquencourt *)
(* *)
(* Copyright 1999-2014, *)
(* Institut National de Recherche en Informatique et en Automatique. *)
(* Distributed only by permission. *)
(* *)
(***********************************************************************)
(** Bytes and Strings
In 4.02.0, [s.[i] <- c] becomes deprecated and this is
very frustrating for CamlImages.
We introduce [(<<)] and replace them by [s << i & c].
*)
external ( & ) : ('a -> 'b) -> 'a -> 'b = "%apply"
val (<<) : bytes -> int -> char -> unit
(** equivalent with [Bytes.set] *)
val (<<!) : bytes -> int -> char -> unit
(** equivalent with [Bytes.unsafe_set] *)
val range_check : bytes -> int -> int -> unit
(** [range_check bs from to_] raises [Invalid_argument "index out of bounds"]
when [from] and [to_] are invalid range for [bs].
*)
val (>@!) : 'a array -> int -> 'a
(** equivalent with [Array.unsafe.get] *)
|