3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-12 12:08:18 +00:00

Fixed bug in DLL .def generation

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2012-10-18 04:51:41 -07:00
parent 2a4e6d03f3
commit fae9a1b760
3 changed files with 13 additions and 13 deletions

View file

@ -520,9 +520,9 @@ EXPORTS
Z3_context_to_string @520 Z3_context_to_string @520
Z3_statistics_to_string @521 Z3_statistics_to_string @521
Z3_get_context_assignment @522 Z3_get_context_assignment @522
Z3_mk_polynomial_manager @1 Z3_mk_polynomial_manager @523
Z3_del_polynomial_manager @2 Z3_del_polynomial_manager @524
Z3_mk_zero_polynomial @3 Z3_mk_zero_polynomial @525
Z3_polynomial_inc_ref @4 Z3_polynomial_inc_ref @526
Z3_polynomial_dec_ref @5 Z3_polynomial_dec_ref @527
Z3_polynomial_to_string @6 Z3_polynomial_to_string @528

View file

@ -520,9 +520,9 @@ EXPORTS
Z3_context_to_string @520 Z3_context_to_string @520
Z3_statistics_to_string @521 Z3_statistics_to_string @521
Z3_get_context_assignment @522 Z3_get_context_assignment @522
Z3_mk_polynomial_manager @1 Z3_mk_polynomial_manager @523
Z3_del_polynomial_manager @2 Z3_del_polynomial_manager @524
Z3_mk_zero_polynomial @3 Z3_mk_zero_polynomial @525
Z3_polynomial_inc_ref @4 Z3_polynomial_inc_ref @526
Z3_polynomial_dec_ref @5 Z3_polynomial_dec_ref @527
Z3_polynomial_to_string @6 Z3_polynomial_to_string @528

View file

@ -203,9 +203,9 @@ def mk_dll_defs():
z3dbgdef = open('dll%sz3_dbg.def' % os.sep, 'w') z3dbgdef = open('dll%sz3_dbg.def' % os.sep, 'w')
z3def.write('LIBRARY "Z3"\nEXPORTS\n') z3def.write('LIBRARY "Z3"\nEXPORTS\n')
z3dbgdef.write('LIBRARY "Z3_DBG"\nEXPORTS\n') z3dbgdef.write('LIBRARY "Z3_DBG"\nEXPORTS\n')
num = 1
for api_file in API_FILES: for api_file in API_FILES:
api = open(api_file, 'r') api = open(api_file, 'r')
num = 1
for line in api: for line in api:
m = pat1.match(line) m = pat1.match(line)
if m: if m: