summaryrefslogtreecommitdiffstats
path: root/include/zix/strindex.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/zix/strindex.h')
-rw-r--r--include/zix/strindex.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/zix/strindex.h b/include/zix/strindex.h
index f596079..8493b8c 100644
--- a/include/zix/strindex.h
+++ b/include/zix/strindex.h
@@ -30,21 +30,21 @@ typedef struct ZixStrindexImpl ZixStrindex;
/**
Construct a new strindex that contains all suffixes of the string `s`.
+
A copy of `s` is taken and stored for the lifetime of the strindex.
*/
ZIX_API
ZixStrindex*
zix_strindex_new(const char* s);
-/**
- Destroy `t`.
-*/
+/// Destroy `t`
ZIX_API
void
zix_strindex_free(ZixStrindex* strindex);
/**
Check if the string in `strindex` contains the substring `str`.
+
If such a substring is found, `match` is pointed at an occurrence of it.
*/
ZIX_API