mirror of
https://github.com/Z3Prover/z3
synced 2025-05-03 22:05:45 +00:00
enhance ocaml seq api (#6010)
Signed-off-by: Sacha Ayoun <sachaayoun@gmail.com>
This commit is contained in:
parent
5a685ba9b5
commit
ffbabf251d
3 changed files with 27 additions and 3 deletions
|
@ -3710,7 +3710,7 @@ extern "C" {
|
|||
|
||||
|
||||
/**
|
||||
\brief Return index of first occurrence of \c substr in \c s starting from offset \c offset.
|
||||
\brief Return index of the first occurrence of \c substr in \c s starting from offset \c offset.
|
||||
If \c s does not contain \c substr, then the value is -1, if \c offset is the length of \c s, then the value is -1 as well.
|
||||
The value is -1 if \c offset is negative or larger than the length of \c s.
|
||||
|
||||
|
@ -3719,7 +3719,7 @@ extern "C" {
|
|||
Z3_ast Z3_API Z3_mk_seq_index(Z3_context c, Z3_ast s, Z3_ast substr, Z3_ast offset);
|
||||
|
||||
/**
|
||||
\brief Return the last occurrence of \c substr in \c s.
|
||||
\brief Return index of the last occurrence of \c substr in \c s.
|
||||
If \c s does not contain \c substr, then the value is -1,
|
||||
def_API('Z3_mk_seq_last_index', AST, (_in(CONTEXT), _in(AST), _in(AST)))
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue