diff options
author | Chris Michael <cp.michael@samsung.com> | 2017-03-13 12:11:46 -0400 |
---|---|---|
committer | Chris Michael <cp.michael@samsung.com> | 2017-03-13 12:11:46 -0400 |
commit | 47f34bb7a3e532d8ee5daded69528bd3c44ad229 (patch) | |
tree | deba3f10f95efc7d2ab72b373b4fc3226f2ea14c | |
parent | 3a9d54085b8751cbd0bca4698a8ff702d9bdc7b4 (diff) | |
download | efl-47f34bb7a3e532d8ee5daded69528bd3c44ad229.tar.gz |
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 <cp.michael@samsung.com>
-rw-r--r-- | src/lib/eina/eina_slice.h | 4 |
1 files 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 */ |