summaryrefslogtreecommitdiffstats
path: root/debugger/loadprinter.mli
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>1997-02-14 16:30:00 +0000
committerXavier Leroy <xavier.leroy@inria.fr>1997-02-14 16:30:00 +0000
commitc49cbe678ad3f976bb88652180dc982b366de990 (patch)
tree79a7a873fac29094c888b9a7abbd602d70e346e5 /debugger/loadprinter.mli
parentd0c1f4366bb3d74edbc48778df86092cec3e2ed5 (diff)
Ajout de load_printer, install_printer, remove_printer.
Program_loading: utiliser setsid() pour detacher le debuggee du terminal. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1267 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'debugger/loadprinter.mli')
-rw-r--r--debugger/loadprinter.mli31
1 files changed, 31 insertions, 0 deletions
diff --git a/debugger/loadprinter.mli b/debugger/loadprinter.mli
new file mode 100644
index 000000000..af1588e12
--- /dev/null
+++ b/debugger/loadprinter.mli
@@ -0,0 +1,31 @@
+(***********************************************************************)
+(* *)
+(* Objective Caml *)
+(* *)
+(* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
+(* *)
+(* Copyright 1997 Institut National de Recherche en Informatique et *)
+(* Automatique. Distributed only by permission. *)
+(* *)
+(***********************************************************************)
+
+(* $Id$ *)
+
+(* Loading and installation of user-defined printer functions *)
+
+val loadfile : string -> unit
+val install_printer : Longident.t -> unit
+val remove_printer : Longident.t -> unit
+
+(* Error report *)
+
+type error =
+ Load_failure of Dynlink.error
+ | Unbound_identifier of Longident.t
+ | Unavailable_module of string * Longident.t
+ | Wrong_type of Longident.t
+ | No_active_printer of Longident.t
+
+exception Error of error
+
+val report_error: error -> unit