summaryrefslogtreecommitdiff
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
parent3a9d54085b8751cbd0bca4698a8ff702d9bdc7b4 (diff)
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
257 * 257 *
258 * @param slice the reference memory. 258 * @param slice the reference memory.
259 * @param prefix the slice to check if @a slice ends with. 259 * @param prefix the slice to check if @a slice ends with.
260 * @return #EINA_TRUE if @a slice ends with @a prefix, #EINA_FALSE otherwise. 260 * @return #EINA_TRUE if @a slice starts with @a prefix, #EINA_FALSE otherwise.
261 * 261 *
262 * @since 1.19 262 * @since 1.19
263 */ 263 */
@@ -301,7 +301,7 @@ static inline void *eina_rw_slice_find(const Eina_Rw_Slice rw_slice, const Eina_
301 * 301 *
302 * @param slice the reference memory. 302 * @param slice the reference memory.
303 * @param prefix the slice to check if @a slice ends with. 303 * @param prefix the slice to check if @a slice ends with.
304 * @return #EINA_TRUE if @a slice ends with @a prefix, #EINA_FALSE otherwise. 304 * @return #EINA_TRUE if @a slice starts with @a prefix, #EINA_FALSE otherwise.
305 * 305 *
306 * @since 1.19 306 * @since 1.19
307 */ 307 */