]> matita.cs.unibo.it Git - helm.git/commitdiff
auto needs DBI handle
authorStefano Zacchiroli <zack@upsilon.cc>
Fri, 22 Oct 2004 12:54:07 +0000 (12:54 +0000)
committerStefano Zacchiroli <zack@upsilon.cc>
Fri, 22 Oct 2004 12:54:07 +0000 (12:54 +0000)
helm/gTopLevel/invokeTactics.ml
helm/gTopLevel/invokeTactics.mli

index e96928988628edb51b686714c9f9a8576f0eae43..ecacc9b7c503a911d5bea34b2b5bda94f1c79b94 100644 (file)
@@ -62,6 +62,7 @@ module type Callbacks =
       (UriManager.uri * int * 'b list) list
     val mk_fresh_name_callback : ProofEngineTypes.mk_fresh_name_type
     val mqi_handle : MQIConn.handle
+    val dbh: Dbi.connection
   end
 ;;
 
@@ -305,7 +306,7 @@ module Make (C: Callbacks) : Tactics =
     (ProofEngine.intros ~mk_fresh_name_callback:C.mk_fresh_name_callback)
   let exact = call_tactic_with_input ProofEngine.exact
   let apply = call_tactic_with_input ProofEngine.apply
-  let auto = call_tactic (ProofEngine.auto C.mqi_handle)
+  let auto = call_tactic (ProofEngine.auto C.dbh)
   let elimintrossimpl = call_tactic_with_input ProofEngine.elim_intros_simpl
   let elimtype = call_tactic_with_input ProofEngine.elim_type
   let whd = call_tactic_with_goal_inputs ProofEngine.whd
index 5578c43e519579e4763efe879b058edee2c8deae..cf116a5421e2ae665b28c12f078a2232746ebe5e 100644 (file)
@@ -60,6 +60,7 @@ module type Callbacks =
       (UriManager.uri * int * 'b list) list
     val mk_fresh_name_callback : ProofEngineTypes.mk_fresh_name_type
     val mqi_handle : MQIConn.handle
+    val dbh : Dbi.connection
   end
 
 module type Tactics =