@@ -369,7 +369,7 @@ extern "C" {
369
369
Z3_CATCH_RETURN (-1 );
370
370
}
371
371
372
- Z3_API char const * Z3_get_symbol_string (Z3_context c, Z3_symbol s) {
372
+ Z3_string Z3_API Z3_get_symbol_string (Z3_context c, Z3_symbol s) {
373
373
Z3_TRY;
374
374
LOG_Z3_get_symbol_string (c, s);
375
375
RESET_ERROR_CODE ();
@@ -714,7 +714,7 @@ extern "C" {
714
714
Z3_CATCH_RETURN (nullptr );
715
715
}
716
716
717
- Z3_sort_kind Z3_get_sort_kind (Z3_context c, Z3_sort t) {
717
+ Z3_sort_kind Z3_API Z3_get_sort_kind (Z3_context c, Z3_sort t) {
718
718
LOG_Z3_get_sort_kind (c, t);
719
719
RESET_ERROR_CODE ();
720
720
CHECK_VALID_AST (t, Z3_UNKNOWN_SORT);
@@ -1019,7 +1019,7 @@ extern "C" {
1019
1019
Z3_CATCH_RETURN (nullptr );
1020
1020
}
1021
1021
1022
- Z3_API char const * Z3_ast_to_string (Z3_context c, Z3_ast a) {
1022
+ Z3_string Z3_API Z3_ast_to_string (Z3_context c, Z3_ast a) {
1023
1023
Z3_TRY;
1024
1024
LOG_Z3_ast_to_string (c, a);
1025
1025
RESET_ERROR_CODE ();
@@ -1045,11 +1045,11 @@ extern "C" {
1045
1045
Z3_CATCH_RETURN (nullptr );
1046
1046
}
1047
1047
1048
- Z3_API char const * Z3_sort_to_string (Z3_context c, Z3_sort s) {
1048
+ Z3_string Z3_API Z3_sort_to_string (Z3_context c, Z3_sort s) {
1049
1049
return Z3_ast_to_string (c, reinterpret_cast <Z3_ast>(s));
1050
1050
}
1051
1051
1052
- Z3_API char const * Z3_func_decl_to_string (Z3_context c, Z3_func_decl f) {
1052
+ Z3_string Z3_API Z3_func_decl_to_string (Z3_context c, Z3_func_decl f) {
1053
1053
return Z3_ast_to_string (c, reinterpret_cast <Z3_ast>(f));
1054
1054
}
1055
1055
0 commit comments