mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 10:25:18 +00:00
to ``mk_genfile_common.py`` and adapt ``mk_util.py`` and ``mk_gparams_register_modules_cpp.py`` to use the code at its new location. The interface has been changed slightly so that ``mk_gparams_register_modules_internal()`` now returns the path to the generated file. The motivation behind this so that clients of the function know the path to the generated file. Whilst I'm here reindent ``mk_gparams_register_modules_cpp.py`` and the relevant code in ``mk_util.py``. Also remove duplicated code that is now available in ``mk_genfile_common.py``. The purpose of this change is to have Python code common to the Python and CMake build systems separate from Python code that is only used for the Python build system. |
||
---|---|---|
.. | ||
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.