aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2017-03-13 12:11:46 -0400
committerChris Michael <cp.michael@samsung.com>2017-03-13 12:11:46 -0400
commit47f34bb7a3e532d8ee5daded69528bd3c44ad229 (patch)
treedeba3f10f95efc7d2ab72b373b4fc3226f2ea14c
parentecore-evas reduce modifier modification on every event to cut cpu (diff)
downloadefl-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.h4
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
*/