From 47f34bb7a3e532d8ee5daded69528bd3c44ad229 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Mon, 13 Mar 2017 12:11:46 -0400 Subject: [PATCH] eina: Fix typo in doxygen eina_(rw)_slice_startswith functions both incorrectly describe the return value as 'slice ends with', when clearly the function is used to find if a slice 'starts with' a prefix @fix Signed-off-by: Chris Michael --- src/lib/eina/eina_slice.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/eina/eina_slice.h b/src/lib/eina/eina_slice.h index 35042d953a..7e4847215d 100644 --- a/src/lib/eina/eina_slice.h +++ b/src/lib/eina/eina_slice.h @@ -257,7 +257,7 @@ static inline const void *eina_slice_find(const Eina_Slice slice, const Eina_Sli * * @param slice the reference memory. * @param prefix the slice to check if @a slice ends with. - * @return #EINA_TRUE if @a slice ends with @a prefix, #EINA_FALSE otherwise. + * @return #EINA_TRUE if @a slice starts with @a prefix, #EINA_FALSE otherwise. * * @since 1.19 */ @@ -301,7 +301,7 @@ static inline void *eina_rw_slice_find(const Eina_Rw_Slice rw_slice, const Eina_ * * @param slice the reference memory. * @param prefix the slice to check if @a slice ends with. - * @return #EINA_TRUE if @a slice ends with @a prefix, #EINA_FALSE otherwise. + * @return #EINA_TRUE if @a slice starts with @a prefix, #EINA_FALSE otherwise. * * @since 1.19 */