Blame camlp4/Camlp4/Options.mli

Packit 1f8b6b
(****************************************************************************)
Packit 1f8b6b
(*                                                                          *)
Packit 1f8b6b
(*                                   OCaml                                  *)
Packit 1f8b6b
(*                                                                          *)
Packit 1f8b6b
(*                            INRIA Rocquencourt                            *)
Packit 1f8b6b
(*                                                                          *)
Packit 1f8b6b
(*  Copyright  2006   Institut National de Recherche  en  Informatique et   *)
Packit 1f8b6b
(*  en Automatique.  All rights reserved.  This file is distributed under   *)
Packit 1f8b6b
(*  the terms of the GNU Library General Public License, with the special   *)
Packit 1f8b6b
(*  exception on linking described in LICENSE at the top of the Camlp4      *)
Packit 1f8b6b
(*  source tree.                                                            *)
Packit 1f8b6b
(*                                                                          *)
Packit 1f8b6b
(****************************************************************************)
Packit 1f8b6b
Packit 1f8b6b
(* Authors:
Packit 1f8b6b
 * - Daniel de Rauglaudre: initial version
Packit 1f8b6b
 * - Nicolas Pouillard: refactoring
Packit 1f8b6b
 *)
Packit 1f8b6b
Packit 1f8b6b
type spec_list = list (string * Arg.spec * string);
Packit 1f8b6b
value init : spec_list -> unit;
Packit 1f8b6b
value add : string -> Arg.spec -> string -> unit;
Packit 1f8b6b
  (** Add an option to the command line options. *)
Packit 1f8b6b
value print_usage_list : spec_list -> unit;
Packit 1f8b6b
value ext_spec_list : unit -> spec_list;
Packit 1f8b6b
value parse : (string -> unit) -> array string -> list string;