mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 13:29:11 +00:00 
			
		
		
		
	C API: fixed mk_context/mk_context_rc exception behaviour
Adjusted .NET/Java APIs accordingly. Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
		
							parent
							
								
									2e2fa84d40
								
							
						
					
					
						commit
						91402f2060
					
				
					 5 changed files with 33 additions and 19 deletions
				
			
		| 
						 | 
				
			
			@ -2155,7 +2155,7 @@ class JavaExample
 | 
			
		|||
        // But you cannot mix numerals of different sorts
 | 
			
		||||
        // even if the size of their domains are the same:
 | 
			
		||||
        // System.out.println(ctx.mkEq(s1, t1));
 | 
			
		||||
    }
 | 
			
		||||
    }    
 | 
			
		||||
 | 
			
		||||
    public static void main(String[] args)
 | 
			
		||||
    {
 | 
			
		||||
| 
						 | 
				
			
			@ -2226,7 +2226,7 @@ class JavaExample
 | 
			
		|||
                Context ctx = new Context(cfg);
 | 
			
		||||
                p.quantifierExample3(ctx);
 | 
			
		||||
                p.quantifierExample4(ctx);
 | 
			
		||||
            }
 | 
			
		||||
            }            
 | 
			
		||||
 | 
			
		||||
            Log.close();
 | 
			
		||||
            if (Log.isOpen())
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue