| 1 | (************************************************************************) |
| 2 | (* * The Rocq Prover / The Rocq Development Team *) |
| 3 | (* v * Copyright INRIA, CNRS and contributors *) |
| 4 | (* <O___,, * (see version control and CREDITS file for authors & dates) *) |
| 5 | (* \VV/ **************************************************************) |
| 6 | (* // * This file is distributed under the terms of the *) |
| 7 | (* * GNU Lesser General Public License Version 2.1 *) |
| 8 | (* * (see LICENSE file for the text of the license) *) |
| 9 | (************************************************************************) |
| 10 | |
| 11 | val getenv_opt : string -> string option |
| 12 | |
| 13 | val getenv_rocq : string -> string option |
| 14 | (** [getenv_rocq name] returns the value of "ROCQ$name" if it exists, |
| 15 | otherwise the value of "COQ$name" if it exists and warns that it |
| 16 | is deprecated, otherwise [None]. *) |
| 17 | |
| 18 | val getenv_rocq_gen : rocq:string -> coq:string -> string option |
| 19 | (** [getenv_rocq_gen ~rocq ~coq] returns the value of [rocq] if it |
| 20 | exists, otherwise the value of [coq] if it exists and warns that |
| 21 | it is deprecated, otherwise [None]. *) |
| 22 | |
| 23 | val set_warn_deprecated_coq_var : (rocq:string -> coq:string -> unit) -> unit |