@@ -8,10 +8,8 @@ DEFINE_TYPE(Z3_symbol);
8
8
DEFINE_TYPE (Z3_config );
9
9
DEFINE_TYPE (Z3_context );
10
10
DEFINE_TYPE (Z3_sort );
11
- #define Z3_sort_opt Z3_sort
12
11
DEFINE_TYPE (Z3_func_decl );
13
12
DEFINE_TYPE (Z3_ast );
14
- #define Z3_ast_opt Z3_ast
15
13
DEFINE_TYPE (Z3_app );
16
14
DEFINE_TYPE (Z3_pattern );
17
15
DEFINE_TYPE (Z3_model );
@@ -31,7 +29,6 @@ DEFINE_TYPE(Z3_ast_vector);
31
29
DEFINE_TYPE (Z3_ast_map );
32
30
DEFINE_TYPE (Z3_apply_result );
33
31
DEFINE_TYPE (Z3_func_interp );
34
- #define Z3_func_interp_opt Z3_func_interp
35
32
DEFINE_TYPE (Z3_func_entry );
36
33
DEFINE_TYPE (Z3_fixedpoint );
37
34
DEFINE_TYPE (Z3_optimize );
@@ -2083,7 +2080,7 @@ extern "C" {
2083
2080
Z3_symbol recognizer ,
2084
2081
unsigned num_fields ,
2085
2082
Z3_symbol const field_names [],
2086
- Z3_sort_opt const sorts [],
2083
+ Z3_sort const sorts [],
2087
2084
unsigned sort_refs []
2088
2085
);
2089
2086
@@ -5511,7 +5508,7 @@ extern "C" {
5511
5508
5512
5509
def_API('Z3_model_get_const_interp', AST, (_in(CONTEXT), _in(MODEL), _in(FUNC_DECL)))
5513
5510
*/
5514
- Z3_ast_opt Z3_API Z3_model_get_const_interp (Z3_context c , Z3_model m , Z3_func_decl a );
5511
+ Z3_ast Z3_API Z3_model_get_const_interp (Z3_context c , Z3_model m , Z3_func_decl a );
5515
5512
5516
5513
/**
5517
5514
\brief Test if there exists an interpretation (i.e., assignment) for \c a in the model \c m.
@@ -5532,7 +5529,7 @@ extern "C" {
5532
5529
5533
5530
def_API('Z3_model_get_func_interp', FUNC_INTERP, (_in(CONTEXT), _in(MODEL), _in(FUNC_DECL)))
5534
5531
*/
5535
- Z3_func_interp_opt Z3_API Z3_model_get_func_interp (Z3_context c , Z3_model m , Z3_func_decl f );
5532
+ Z3_func_interp Z3_API Z3_model_get_func_interp (Z3_context c , Z3_model m , Z3_func_decl f );
5536
5533
5537
5534
/**
5538
5535
\brief Return the number of constants assigned by the given model.
@@ -6033,7 +6030,6 @@ extern "C" {
6033
6030
6034
6031
/** @name Error Handling */
6035
6032
/**@{*/
6036
- #ifndef SAFE_ERRORS
6037
6033
/**
6038
6034
\brief Return the error code for the last API call.
6039
6035
@@ -6059,7 +6055,6 @@ extern "C" {
6059
6055
\sa Z3_get_error_code
6060
6056
*/
6061
6057
void Z3_API Z3_set_error_handler (Z3_context c , Z3_error_handler h );
6062
- #endif
6063
6058
6064
6059
/**
6065
6060
\brief Set an error.
0 commit comments