From e3c880264bf54083b962d41a4c6e1ef35ca464f2 Mon Sep 17 00:00:00 2001 From: letouzey Date: Thu, 17 Mar 2011 21:46:47 +0000 Subject: Goptions: repair Unset for int options Previous code was trying to do a bool write, and in case of error, a int write. But for compatibility reason, bool write error were turned into warnings, preventing Unset Foo Bar to work when Foo Bar is an int option. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13915 85f007b7-540e-0410-9357-904b9bb8a0f7 --- library/goptions.mli | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'library/goptions.mli') diff --git a/library/goptions.mli b/library/goptions.mli index 837174f58..d3e0ac1a6 100644 --- a/library/goptions.mli +++ b/library/goptions.mli @@ -149,10 +149,12 @@ val get_ref_table : mem : reference -> unit; print : unit > -(** The first argument is a locality flag. [Some true] = "Local", [Some false]="Global". *) +(** The first argument is a locality flag. + [Some true] = "Local", [Some false]="Global". *) val set_int_option_value_gen : bool option -> option_name -> int option -> unit val set_bool_option_value_gen : bool option -> option_name -> bool -> unit val set_string_option_value_gen : bool option -> option_name -> string -> unit +val unset_option_value_gen : bool option -> option_name -> unit val set_int_option_value : option_name -> int option -> unit val set_bool_option_value : option_name -> bool -> unit -- cgit v1.2.3