mirror of
https://github.com/Z3Prover/z3
synced 2026-03-20 11:55:49 +00:00
Fix Go bindings compilation issues and add to CI
- Fix malformed z3.go with duplicate function body fragments - Fix datatype.go to use Z3_del_constructor and Z3_del_constructor_list instead of non-existent inc_ref/dec_ref functions - Remove non-existent Push/Pop methods from fixedpoint.go - Fix CMake Go bindings targets quoting for proper LDFLAGS handling - Add Go bindings support to ubuntu-cmake CI jobs Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
c454b14c24
commit
bbc1e501ab
4 changed files with 14 additions and 49 deletions
|
|
@ -195,16 +195,6 @@ func (f *Fixedpoint) GetAssertions() *ASTVector {
|
|||
return newASTVector(f.ctx, ptr)
|
||||
}
|
||||
|
||||
// Push creates a backtracking point
|
||||
func (f *Fixedpoint) Push() {
|
||||
C.Z3_fixedpoint_push(f.ctx.ptr, f.ptr)
|
||||
}
|
||||
|
||||
// Pop backtracks one backtracking point
|
||||
func (f *Fixedpoint) Pop() {
|
||||
C.Z3_fixedpoint_pop(f.ctx.ptr, f.ptr)
|
||||
}
|
||||
|
||||
// SetPredicateRepresentation sets the predicate representation for a given relation
|
||||
func (f *Fixedpoint) SetPredicateRepresentation(funcDecl *FuncDecl, kinds []C.Z3_symbol) {
|
||||
if len(kinds) == 0 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue