aboutsummaryrefslogtreecommitdiff
path: root/tactics
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2020-04-03 01:16:22 -0400
committerEmilio Jesus Gallego Arias2020-04-15 11:12:59 -0400
commit38aa25757957e9e9f879509605f06ada5992ca36 (patch)
treecc635dc3916971d0615924367cc314226148d55a /tactics
parent1dc70876b4a5ad027b3b73aa6ba741e89320d17d (diff)
[tmp] Compat API for CI
Rewriter needs a bit of work as it calls a removed function, but no big deal.
Diffstat (limited to 'tactics')
-rw-r--r--tactics/declare.mli11
1 files changed, 11 insertions, 0 deletions
diff --git a/tactics/declare.mli b/tactics/declare.mli
index 25dcc84fc8..1fabf80b2a 100644
--- a/tactics/declare.mli
+++ b/tactics/declare.mli
@@ -301,3 +301,14 @@ val get_current_goal_context : Proof.t -> Evd.evar_map * Environ.env
If there is no pending proof then it returns the current global
environment and empty evar_map. *)
val get_current_context : Proof.t -> Evd.evar_map * Environ.env
+
+(** Temporarily re-exported for 3rd party code; don't use *)
+val build_constant_by_tactic :
+ name:Names.Id.t ->
+ ?opaque:opacity_flag ->
+ uctx:UState.t ->
+ sign:Environ.named_context_val ->
+ poly:bool ->
+ EConstr.types ->
+ unit Proofview.tactic ->
+ Evd.side_effects proof_entry * bool * UState.t