mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 13:29:11 +00:00 
			
		
		
		
	fix dotnet build
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									915ff38f97
								
							
						
					
					
						commit
						833b54a12c
					
				
					 3 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
					@ -76,7 +76,7 @@ Type2PyStr = { VOID_PTR : 'ctypes.c_void_p', INT : 'ctypes.c_int', UINT : 'ctype
 | 
				
			||||||
# Mapping to .NET types
 | 
					# Mapping to .NET types
 | 
				
			||||||
Type2Dotnet = { VOID : 'void', VOID_PTR : 'IntPtr', INT : 'int', UINT : 'uint', INT64 : 'Int64', UINT64 : 'UInt64', DOUBLE : 'double',
 | 
					Type2Dotnet = { VOID : 'void', VOID_PTR : 'IntPtr', INT : 'int', UINT : 'uint', INT64 : 'Int64', UINT64 : 'UInt64', DOUBLE : 'double',
 | 
				
			||||||
                FLOAT : 'float', STRING : 'string', STRING_PTR : 'byte**', BOOL : 'byte', SYMBOL : 'IntPtr',
 | 
					                FLOAT : 'float', STRING : 'string', STRING_PTR : 'byte**', BOOL : 'byte', SYMBOL : 'IntPtr',
 | 
				
			||||||
                PRINT_MODE : 'uint', ERROR_CODE : 'uint', CHAR : 'char', CHAR_PTR : 'char*' }
 | 
					                PRINT_MODE : 'uint', ERROR_CODE : 'uint', CHAR : 'char', CHAR_PTR : 'IntPtr' }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Mapping to Java types
 | 
					# Mapping to Java types
 | 
				
			||||||
Type2Java = { VOID : 'void', VOID_PTR : 'long', INT : 'int', UINT : 'int', INT64 : 'long', UINT64 : 'long', DOUBLE : 'double',
 | 
					Type2Java = { VOID : 'void', VOID_PTR : 'long', INT : 'int', UINT : 'int', INT64 : 'long', UINT64 : 'long', DOUBLE : 'double',
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -32,10 +32,12 @@ namespace smt {
 | 
				
			||||||
    bool context::check_clause(clause const * cls) const {
 | 
					    bool context::check_clause(clause const * cls) const {
 | 
				
			||||||
        SASSERT(is_watching_clause(~cls->get_literal(0), cls));        
 | 
					        SASSERT(is_watching_clause(~cls->get_literal(0), cls));        
 | 
				
			||||||
        SASSERT(is_watching_clause(~cls->get_literal(1), cls));        
 | 
					        SASSERT(is_watching_clause(~cls->get_literal(1), cls));        
 | 
				
			||||||
 | 
					#if 0
 | 
				
			||||||
        for (literal l : *cls) {
 | 
					        for (literal l : *cls) {
 | 
				
			||||||
            // holds, TBD re-enable when ready to re-check
 | 
					            // holds, TBD re-enable when ready to re-check
 | 
				
			||||||
            // SASSERT(!track_occs() || m_lit_occs[l.index()] > 0);
 | 
					            // SASSERT(!track_occs() || m_lit_occs[l.index()] > 0);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
        return true;
 | 
					        return true;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1134,6 +1134,7 @@ public:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    void apply_sort_cnstr(enode* n, sort*) {
 | 
					    void apply_sort_cnstr(enode* n, sort*) {
 | 
				
			||||||
        TRACE("arith", tout << "sort constraint: " << mk_pp(n->get_owner(), m) << "\n";);
 | 
					        TRACE("arith", tout << "sort constraint: " << mk_pp(n->get_owner(), m) << "\n";);
 | 
				
			||||||
 | 
					#if 0
 | 
				
			||||||
        if (!th.is_attached_to_var(n)) {
 | 
					        if (!th.is_attached_to_var(n)) {
 | 
				
			||||||
            theory_var v = mk_var(n->get_owner(), false);
 | 
					            theory_var v = mk_var(n->get_owner(), false);
 | 
				
			||||||
            auto vi = register_theory_var_in_lar_solver(v);
 | 
					            auto vi = register_theory_var_in_lar_solver(v);
 | 
				
			||||||
| 
						 | 
					@ -1142,6 +1143,7 @@ public:
 | 
				
			||||||
                // TBD: add a way to bind equality between vi and wi in m_solver
 | 
					                // TBD: add a way to bind equality between vi and wi in m_solver
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    void push_scope_eh() {
 | 
					    void push_scope_eh() {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue