diff options
author | Enrico Tassi <Enrico.Tassi@inria.fr> | 2015-10-06 14:11:19 +0200 |
---|---|---|
committer | Enrico Tassi <Enrico.Tassi@inria.fr> | 2015-10-08 09:51:13 +0200 |
commit | ce83c2b9fd1685e46049ee7f47c8716dcf66dbd1 (patch) | |
tree | f37a9f9b4aadcd6b07fce72885f879d457ab78dd /library/goptions.mli | |
parent | 27d4a636cb7f1fbdbced1980808a9b947405eeb5 (diff) |
Goptions: new value type: optional string
These options can be set to a string value, but also unset.
Internal data is of type string option.
Diffstat (limited to 'library/goptions.mli')
-rw-r--r-- | library/goptions.mli | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/library/goptions.mli b/library/goptions.mli index 1c44f8908..9d87c14c5 100644 --- a/library/goptions.mli +++ b/library/goptions.mli @@ -128,6 +128,7 @@ type 'a write_function = 'a -> unit val declare_int_option : int option option_sig -> int option write_function val declare_bool_option : bool option_sig -> bool write_function val declare_string_option: string option_sig -> string write_function +val declare_stringopt_option: string option option_sig -> string option write_function (** {6 Special functions supposed to be used only in vernacentries.ml } *) @@ -165,6 +166,7 @@ type option_value = | BoolValue of bool | IntValue of int option | StringValue of string + | StringOptValue of string option (** Summary of an option status *) type option_state = { |