mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 02:15:19 +00:00
``mk_genfile_common.py``. A new function ``mk_hpp_from_pyg()`` has been added which provides a more sensible interface (hides the nasty ``exec()`` stuff) to create the ``*.hpp`` files from ``*.pyg`` files. Both ``mk_util.py`` and ``pyg2hpp.py`` have been modified to use the new interface. Whilst I'm here reindent ``pyg2hpp.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. I've tested this change by making sure that the all the ``*.hpp`` files generated from ``*.pyg`` files match the files generated before this change. |
||
---|---|---|
.. | ||
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.