aboutsummaryrefslogtreecommitdiffhomepage
path: root/toplevel/ide_intf.mli
diff options
context:
space:
mode:
authorGravatar ppedrot <ppedrot@85f007b7-540e-0410-9357-904b9bb8a0f7>2011-11-25 18:12:41 +0000
committerGravatar ppedrot <ppedrot@85f007b7-540e-0410-9357-904b9bb8a0f7>2011-11-25 18:12:41 +0000
commit5c995f9bf8408662c23079e19d1b285ef814e8d9 (patch)
tree753ee04cc68ec47bfa01d2a9fee6c19401395820 /toplevel/ide_intf.mli
parent90aab584680d4fab9286eafe0a2e918df8889c53 (diff)
Added an API call to retrieve and change the option state
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14731 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'toplevel/ide_intf.mli')
-rw-r--r--toplevel/ide_intf.mli9
1 files changed, 9 insertions, 0 deletions
diff --git a/toplevel/ide_intf.mli b/toplevel/ide_intf.mli
index ada6ffe22..9480a7f07 100644
--- a/toplevel/ide_intf.mli
+++ b/toplevel/ide_intf.mli
@@ -51,6 +51,15 @@ val inloadpath : string -> bool call
followed by enough pattern variables. *)
val mkcases : string -> string list list call
+(** Retrieve the list of options of the current toplevel, together with their
+ state. *)
+val get_options : (option_name * option_state) list call
+
+(** Set the options to the given value. Warning: this is not atomic, so whenever
+ the call fails, the option state can be messed up... This is the caller duty
+ to check that everything is correct. *)
+val set_options : (option_name * option_value) list -> unit call
+
val abstract_eval_call : handler -> 'a call -> 'a value
(** * XML data marshalling *)