summaryrefslogtreecommitdiffstats
path: root/ocamlbuild/hooks.mli
diff options
context:
space:
mode:
Diffstat (limited to 'ocamlbuild/hooks.mli')
-rw-r--r--ocamlbuild/hooks.mli23
1 files changed, 23 insertions, 0 deletions
diff --git a/ocamlbuild/hooks.mli b/ocamlbuild/hooks.mli
new file mode 100644
index 000000000..0c55e9f1a
--- /dev/null
+++ b/ocamlbuild/hooks.mli
@@ -0,0 +1,23 @@
+(***********************************************************************)
+(* ocamlbuild *)
+(* *)
+(* Nicolas Pouillard, Berke Durak, projet Gallium, INRIA Rocquencourt *)
+(* *)
+(* Copyright 2007 Institut National de Recherche en Informatique et *)
+(* en Automatique. All rights reserved. This file is distributed *)
+(* under the terms of the Q Public License version 1.0. *)
+(* *)
+(***********************************************************************)
+
+(* $Id$ *)
+(* Original author: Nicolas Pouillard *)
+type message =
+ | Before_hygiene
+ | After_hygiene
+ | Before_options
+ | After_options
+ | Before_rules
+ | After_rules
+
+val setup_hooks : (message -> unit) -> unit
+val call_hook : message -> unit