mirror of
https://github.com/Z3Prover/z3
synced 2025-08-10 13:10:50 +00:00
Merge branch 'master' of https://github.com/Z3Prover/z3
This commit is contained in:
commit
00ce3f8172
3 changed files with 11 additions and 5 deletions
|
@ -67,7 +67,6 @@ add_custom_target(api_docs ${ALWAYS_BUILD_DOCS_ARG}
|
||||||
${JAVA_API_OPTIONS}
|
${JAVA_API_OPTIONS}
|
||||||
DEPENDS
|
DEPENDS
|
||||||
${DOC_EXTRA_DEPENDS}
|
${DOC_EXTRA_DEPENDS}
|
||||||
BYPRODUCTS "${DOC_DEST_DIR}"
|
|
||||||
COMMENT "Generating documentation"
|
COMMENT "Generating documentation"
|
||||||
${ADD_CUSTOM_TARGET_USES_TERMINAL_ARG}
|
${ADD_CUSTOM_TARGET_USES_TERMINAL_ARG}
|
||||||
)
|
)
|
||||||
|
|
|
@ -103,15 +103,17 @@ def parse_options():
|
||||||
TEMP_DIR = pargs.temp_dir
|
TEMP_DIR = pargs.temp_dir
|
||||||
OUTPUT_DIRECTORY = pargs.output_dir
|
OUTPUT_DIRECTORY = pargs.output_dir
|
||||||
Z3PY_PACKAGE_PATH = pargs.z3py_package_path
|
Z3PY_PACKAGE_PATH = pargs.z3py_package_path
|
||||||
if not os.path.exists(Z3PY_PACKAGE_PATH):
|
|
||||||
raise Exception('"{}" does not exist'.format(Z3PY_PACKAGE_PATH))
|
|
||||||
if not os.path.basename(Z3PY_PACKAGE_PATH) == 'z3':
|
|
||||||
raise Exception('"{}" does not end with "z3"'.format(Z3PY_PACKAGE_PATH))
|
|
||||||
Z3PY_ENABLED = not pargs.no_z3py
|
Z3PY_ENABLED = not pargs.no_z3py
|
||||||
DOTNET_ENABLED = not pargs.no_dotnet
|
DOTNET_ENABLED = not pargs.no_dotnet
|
||||||
JAVA_ENABLED = not pargs.no_java
|
JAVA_ENABLED = not pargs.no_java
|
||||||
DOTNET_API_SEARCH_PATHS = pargs.dotnet_search_paths
|
DOTNET_API_SEARCH_PATHS = pargs.dotnet_search_paths
|
||||||
JAVA_API_SEARCH_PATHS = pargs.java_search_paths
|
JAVA_API_SEARCH_PATHS = pargs.java_search_paths
|
||||||
|
|
||||||
|
if Z3PY_ENABLED:
|
||||||
|
if not os.path.exists(Z3PY_PACKAGE_PATH):
|
||||||
|
raise Exception('"{}" does not exist'.format(Z3PY_PACKAGE_PATH))
|
||||||
|
if not os.path.basename(Z3PY_PACKAGE_PATH) == 'z3':
|
||||||
|
raise Exception('"{}" does not end with "z3"'.format(Z3PY_PACKAGE_PATH))
|
||||||
return
|
return
|
||||||
|
|
||||||
def mk_dir(d):
|
def mk_dir(d):
|
||||||
|
|
|
@ -46,6 +46,11 @@ public:
|
||||||
bool contains(obj_pair const & p) const { return m_set.contains(p); }
|
bool contains(obj_pair const & p) const { return m_set.contains(p); }
|
||||||
void reset() { m_set.reset(); }
|
void reset() { m_set.reset(); }
|
||||||
bool empty() const { return m_set.empty(); }
|
bool empty() const { return m_set.empty(); }
|
||||||
|
|
||||||
|
typedef typename chashtable<obj_pair, hash_proc, eq_proc>::iterator iterator;
|
||||||
|
|
||||||
|
iterator begin() { return m_set.begin(); }
|
||||||
|
iterator end() { return m_set.end(); }
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue