Skip to content

Commit

Permalink
Fixed merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoDutertre committed Apr 4, 2019
2 parents 97fe2eb + 60dc4ca commit f49b4f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions doc/sphinx/source/context-operations.rst
Expand Up @@ -993,15 +993,14 @@ record is no longer needed, it can be deleted by
-- error code: :c:enum:`CTX_INVALID_PARAMETER_VALUE`


.. c:function:: void yices_default_params_for_context(context_t *ctx, param_t *p)
.. c:function:: void yices_default_params_for_context(const context_t *ctx, param_t *p)
Set all the parameters in record *p* to values appropriate for
context *ctx*. The parameter settings depend on the logic
supported by *ctx* and are based on empirical evaluation on
benchmarks in the same logic.
.. c:function:: void yices_free_param_record(param_t* param)
Deletes a parameter record.
Expand Down
4 changes: 1 addition & 3 deletions src/api/yices_api.c
Expand Up @@ -8856,9 +8856,7 @@ void yices_set_default_params(param_t *params, smt_logic_t logic, context_arch_t
* Set default search parameters for ctx (based on architecture and theories)
* - this is based on benchmarking on the SMT-LIB 1.2 benchmarks (cf. yices_smtcomp.c)
*/
//MT_PROTECT(, __yices_globals.lock, );
//MT_PROTECT(, ctx->lock, );
EXPORTED void yices_default_params_for_context(context_t *ctx, param_t *params) {
EXPORTED void yices_default_params_for_context(const context_t *ctx, param_t *params) {
yices_set_default_params(params, ctx->logic, ctx->arch, ctx->mode);
}

Expand Down
2 changes: 1 addition & 1 deletion src/include/yices.h
Expand Up @@ -3200,7 +3200,7 @@ __YICES_DLLSPEC__ extern param_t *yices_new_param_record(void);
/*
* Set default search parameters for ctx.
*/
__YICES_DLLSPEC__ extern void yices_default_params_for_context(context_t *ctx, param_t *params);
__YICES_DLLSPEC__ extern void yices_default_params_for_context(const context_t *ctx, param_t *params);


/*
Expand Down

0 comments on commit f49b4f5

Please sign in to comment.