From 4b266e2f39a8d3a49b58c861c7fd852911cf7fb0 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 1 Jul 2021 00:05:22 -0400 Subject: Use line comments where appropriate --- include/zix/strindex.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/zix/strindex.h') 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 -- cgit v1.2.1