summaryrefslogtreecommitdiff
path: root/ocaml-binary-annot/debugger/printval.mli
diff options
context:
space:
mode:
Diffstat (limited to 'ocaml-binary-annot/debugger/printval.mli')
-rw-r--r--ocaml-binary-annot/debugger/printval.mli33
1 files changed, 33 insertions, 0 deletions
diff --git a/ocaml-binary-annot/debugger/printval.mli b/ocaml-binary-annot/debugger/printval.mli
new file mode 100644
index 0000000000..bb6318880c
--- /dev/null
+++ b/ocaml-binary-annot/debugger/printval.mli
@@ -0,0 +1,33 @@
+(***********************************************************************)
+(* *)
+(* Objective Caml *)
+(* *)
+(* Jerome Vouillon, projet Cristal, INRIA Rocquencourt *)
+(* Objective Caml port by John Malecki and Xavier Leroy *)
+(* *)
+(* Copyright 1996 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$ *)
+
+open Format
+
+val max_printer_depth : int ref
+val max_printer_steps : int ref
+
+val print_exception: formatter -> Debugcom.Remote_value.t -> unit
+val print_named_value :
+ int -> Parser_aux.expression -> Env.t ->
+ Debugcom.Remote_value.t -> formatter -> Types.type_expr ->
+ unit
+
+val reset_named_values : unit -> unit
+val find_named_value : int -> Debugcom.Remote_value.t * Types.type_expr
+
+val install_printer :
+ Path.t -> Types.type_expr -> formatter ->
+ (formatter -> Obj.t -> unit) -> unit
+val remove_printer : Path.t -> unit