mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	update to take effect of def_API for callback functions
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									ca2497eecb
								
							
						
					
					
						commit
						f6b2874d7c
					
				
					 2 changed files with 16 additions and 22 deletions
				
			
		| 
						 | 
				
			
			@ -1881,28 +1881,22 @@ _error_handler_type  = ctypes.CFUNCTYPE(None, ctypes.c_void_p, ctypes.c_uint)
 | 
			
		|||
_lib.Z3_set_error_handler.restype  = None
 | 
			
		||||
_lib.Z3_set_error_handler.argtypes = [ContextObj, _error_handler_type]
 | 
			
		||||
 | 
			
		||||
push_eh_type  = ctypes.CFUNCTYPE(None, ctypes.c_void_p, ctypes.c_void_p)
 | 
			
		||||
pop_eh_type   = ctypes.CFUNCTYPE(None, ctypes.c_void_p, ctypes.c_void_p, ctypes.c_uint)
 | 
			
		||||
fresh_eh_type = ctypes.CFUNCTYPE(ctypes.c_void_p, ctypes.c_void_p, ctypes.c_void_p)
 | 
			
		||||
Z3_push_eh  = ctypes.CFUNCTYPE(None, ctypes.c_void_p, ctypes.c_void_p)
 | 
			
		||||
Z3_pop_eh   = ctypes.CFUNCTYPE(None, ctypes.c_void_p, ctypes.c_void_p, ctypes.c_uint)
 | 
			
		||||
Z3_fresh_eh = ctypes.CFUNCTYPE(ctypes.c_void_p, ctypes.c_void_p, ctypes.c_void_p)
 | 
			
		||||
 | 
			
		||||
fixed_eh_type = ctypes.CFUNCTYPE(None, ctypes.c_void_p, ctypes.c_void_p, ctypes.c_void_p, ctypes.c_void_p)
 | 
			
		||||
final_eh_type = ctypes.CFUNCTYPE(None, ctypes.c_void_p, ctypes.c_void_p)
 | 
			
		||||
eq_eh_type    = ctypes.CFUNCTYPE(None, ctypes.c_void_p, ctypes.c_void_p, ctypes.c_void_p, ctypes.c_void_p)
 | 
			
		||||
Z3_fixed_eh = ctypes.CFUNCTYPE(None, ctypes.c_void_p, ctypes.c_void_p, ctypes.c_void_p, ctypes.c_void_p)
 | 
			
		||||
Z3_final_eh = ctypes.CFUNCTYPE(None, ctypes.c_void_p, ctypes.c_void_p)
 | 
			
		||||
Z3_eq_eh    = ctypes.CFUNCTYPE(None, ctypes.c_void_p, ctypes.c_void_p, ctypes.c_void_p, ctypes.c_void_p)
 | 
			
		||||
 | 
			
		||||
Z3_created_eh = ctypes.CFUNCTYPE(None, ctypes.c_void_p, ctypes.c_void_p, ctypes.c_void_p)
 | 
			
		||||
Z3_decide_eh = ctypes.CFUNCTYPE(None, ctypes.c_void_p, ctypes.c_void_p, ctypes.c_void_p, ctypes.c_void_p, ctypes.c_void_p)
 | 
			
		||||
 | 
			
		||||
_lib.Z3_solver_propagate_init.restype = None
 | 
			
		||||
_lib.Z3_solver_propagate_init.argtypes = [ContextObj, SolverObj, ctypes.c_void_p, push_eh_type, pop_eh_type, fresh_eh_type]
 | 
			
		||||
 | 
			
		||||
_lib.Z3_solver_propagate_final.restype = None
 | 
			
		||||
_lib.Z3_solver_propagate_final.argtypes = [ContextObj, SolverObj, final_eh_type]
 | 
			
		||||
 | 
			
		||||
_lib.Z3_solver_propagate_fixed.restype = None
 | 
			
		||||
_lib.Z3_solver_propagate_fixed.argtypes = [ContextObj, SolverObj, fixed_eh_type]
 | 
			
		||||
 | 
			
		||||
_lib.Z3_solver_propagate_eq.restype = None
 | 
			
		||||
_lib.Z3_solver_propagate_eq.argtypes = [ContextObj, SolverObj, eq_eh_type]
 | 
			
		||||
 | 
			
		||||
_lib.Z3_solver_propagate_diseq.restype = None
 | 
			
		||||
_lib.Z3_solver_propagate_diseq.argtypes = [ContextObj, SolverObj, eq_eh_type]
 | 
			
		||||
 | 
			
		||||
on_model_eh_type = ctypes.CFUNCTYPE(None, ctypes.c_void_p)
 | 
			
		||||
_lib.Z3_optimize_register_model_eh.restype = None
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue