Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose forall and exists to Julia #7099

Merged
merged 1 commit into from
Jan 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/api/julia/z3jl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,8 @@ JLCXX_MODULE define_julia_module(jlcxx::Module &m)
m.method("xnor", &xnor);
m.method("min", &min);
m.method("max", &max);
m.method("exists", static_cast<expr (*)(expr_vector const &, expr const &)>(&exists));
m.method("forall", static_cast<expr (*)(expr_vector const &, expr const &)>(&forall));
m.method("abs", static_cast<expr (*)(expr const &)>(&abs));
m.method("sqrt", static_cast<expr (*)(expr const &, expr const &)>(&sqrt));
m.method("fma", static_cast<expr (*)(expr const &, expr const &, expr const &, expr const &)>(&fma));
Expand Down