mirror of
https://github.com/Z3Prover/z3
synced 2025-05-03 22:05:45 +00:00
Fix memory and concurrency issues in OCaml API (#6992)
* Fix memory and concurrency issues in OCaml API * Undo locking changes
This commit is contained in:
parent
5b9fdcf462
commit
36382ccb57
4 changed files with 41 additions and 19 deletions
|
@ -2082,6 +2082,16 @@ extern "C" {
|
|||
unsigned sort_refs[]
|
||||
);
|
||||
|
||||
/**
|
||||
\brief Retrieve the number of fields of a constructor
|
||||
|
||||
\param c logical context.
|
||||
\param constr constructor.
|
||||
|
||||
def_API('Z3_constructor_num_fields', UINT, (_in(CONTEXT), _in(CONSTRUCTOR)))
|
||||
*/
|
||||
unsigned Z3_API Z3_constructor_num_fields(Z3_context c, Z3_constructor constr);
|
||||
|
||||
/**
|
||||
\brief Reclaim memory allocated to constructor.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue