]> matita.cs.unibo.it Git - helm.git/blob - matita/components/binaries/matex/options.ml
dc094441e712dfbbe219dd2cb25e2c2a6f83b32e
[helm.git] / matita / components / binaries / matex / options.ml
1 (*
2     ||M||  This file is part of HELM, an Hypertextual, Electronic        
3     ||A||  Library of Mathematics, developed at the Computer Science     
4     ||T||  Department, University of Bologna, Italy.                     
5     ||I||                                                                
6     ||T||  HELM is free software; you can redistribute it and/or         
7     ||A||  modify it under the terms of the GNU General Public License   
8     \   /  version 2 or (at your option) any later version.      
9      \ /   This software is distributed as is, NO WARRANTY.     
10       V_______________________________________________________________ *)
11
12 module F = Filename
13
14 module R  = Helm_registry
15
16 (* internal *****************************************************************)
17
18 let default_no_init = true
19
20 let default_out_dir = F.current_dir_name
21
22 (* interface ****************************************************************)
23
24 let no_init = ref default_no_init
25
26 let out_dir = ref default_out_dir
27
28 let clear () =
29    R.clear ();
30    no_init := default_no_init;
31    out_dir := default_out_dir