package ocamlbuild

  1. Overview
  2. Docs
type !'a arch = private
  1. | Arch_dir of string * 'a * 'a arch list
  2. | Arch_dir_pack of string * 'a * 'a arch list
  3. | Arch_file of string * 'a
val dir : string -> unit arch list -> unit arch
val dir_pack : string -> unit arch list -> unit arch
val file : string -> unit arch
type info = private {
  1. current_path : string;
  2. include_dirs : string list;
  3. for_pack : string;
}
val annotate : 'a arch -> info arch
val print : (Stdlib.Format.formatter -> 'a -> unit) -> Stdlib.Format.formatter -> 'a arch -> unit
val print_include_dirs : Stdlib.Format.formatter -> string list -> unit
val print_info : Stdlib.Format.formatter -> info -> unit
val iter_info : ('a -> unit) -> 'a arch -> unit
val fold_info : ('a -> 'b -> 'b) -> 'a arch -> 'b -> 'b
val iter_include_dirs : info arch -> (string -> unit) -> unit
val mk_tables : info arch -> (string, string list) Stdlib.Hashtbl.t * (string, string) Stdlib.Hashtbl.t
val print_table : (Stdlib.Format.formatter -> 'a -> unit) -> Stdlib.Format.formatter -> (string, 'a) Stdlib.Hashtbl.t -> unit
OCaml

Innovation. Community. Security.