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

add documentation methods to param_descrs, add C++ API and example for param_descrs. Issue #443

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2016-02-12 11:45:00 +00:00
parent 9ed7dadc02
commit 8d61d36c3f
7 changed files with 91 additions and 0 deletions

View file

@ -1666,6 +1666,13 @@ extern "C" {
*/
Z3_symbol Z3_API Z3_param_descrs_get_name(Z3_context c, Z3_param_descrs p, unsigned i);
/**
\brief Retrieve documentation string corresponding to parameter name \c s.
def_API('Z3_param_descrs_get_documentation', STRING, (_in(CONTEXT), _in(PARAM_DESCRS), _in(SYMBOL)))
*/
Z3_string Z3_API Z3_param_descrs_get_documentation(Z3_context c, Z3_param_descrs p, Z3_symbol s);
/**
\brief Convert a parameter description set into a string. This function is mainly used for printing the
contents of a parameter description set.