output to draw_pp's ppf
This commit is contained in:
@ -42,6 +42,8 @@ let phrase_buffer = Buffer.create 1024
|
||||
(* The table of toplevel value bindings and its accessors *)
|
||||
let toplevel_value_bindings : Obj.t String.Map.t ref = ref String.Map.empty
|
||||
|
||||
let ppf = ref Format.std_formatter
|
||||
|
||||
let getvalue name =
|
||||
try String.Map.find name !toplevel_value_bindings
|
||||
with Not_found -> fatal_error (name ^ " unbound at toplevel")
|
||||
|
||||
Reference in New Issue
Block a user