mirror of
https://github.com/Z3Prover/z3
synced 2025-06-09 07:33:24 +00:00
ML API bug fix
This commit is contained in:
parent
733c115722
commit
0dc85620aa
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ static struct custom_operations default_custom_ops = {
|
||||||
CAMLparam1(v); \
|
CAMLparam1(v); \
|
||||||
CAMLlocal1(result); \
|
CAMLlocal1(result); \
|
||||||
Z3_ ## X ## _plus * p = (Z3_ ## X ## _plus *) Data_custom_val(v); \
|
Z3_ ## X ## _plus * p = (Z3_ ## X ## _plus *) Data_custom_val(v); \
|
||||||
result = caml_alloc(sizeof(Z3_context_plus), 0); \
|
result = caml_alloc_custom(&Z3_context_plus_custom_ops, sizeof(Z3_context_plus), 0, 1); \
|
||||||
*(Z3_context_plus*)Data_custom_val(result) = *p->cp; \
|
*(Z3_context_plus*)Data_custom_val(result) = *p->cp; \
|
||||||
CAMLreturn(result); \
|
CAMLreturn(result); \
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue