mirror of
https://github.com/Z3Prover/z3
synced 2025-04-07 09:55:19 +00:00
enum values is not consistent between python 2 or 3. The root cause of the problem was a dictionary's keys being iterated over which has no defined order. This has been fixed by iterating over the dictionary's items and ordering by values. We could order by key rather than the values but seeing as these represent an enum, ordering by value makes more sense. |
||
---|---|---|
.. | ||
mk_consts_files.py | ||
mk_copyright.py | ||
mk_def_file.py | ||
mk_exception.py | ||
mk_genfile_common.py | ||
mk_gparams_register_modules_cpp.py | ||
mk_install_tactic_cpp.py | ||
mk_make.py | ||
mk_mem_initializer_cpp.py | ||
mk_pat_db.py | ||
mk_project.py | ||
mk_unix_dist.py | ||
mk_util.py | ||
mk_win_dist.py | ||
pyg2hpp.py | ||
README | ||
trackall.sh | ||
update_api.py | ||
update_header_guards.py |
Instructions for updating external Z3 API ----------------------------------------- The python "macros": def_Type() and def_API() are used to add new types and function definitions to the Z3 API. The .h files provided to `mk_bindings(API_files)` contain these definitions. See src\api\z3_api.h for many examples. The bindings for .Net and Python are generated when mk_make.py is invoked.