diff options
Diffstat (limited to 'libraries/eina/src/include/eina_str.h')
-rw-r--r-- | libraries/eina/src/include/eina_str.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libraries/eina/src/include/eina_str.h b/libraries/eina/src/include/eina_str.h index 8b52ab2..2913fbf 100644 --- a/libraries/eina/src/include/eina_str.h +++ b/libraries/eina/src/include/eina_str.h | |||
@@ -161,14 +161,14 @@ EAPI Eina_Bool eina_str_has_extension(const char *str, const char *ext) EI | |||
161 | /** | 161 | /** |
162 | * @brief Split a string using a delimiter. | 162 | * @brief Split a string using a delimiter. |
163 | * | 163 | * |
164 | * @param str The string to split. | 164 | * @param string The string to split. |
165 | * @param delim The string which specifies the places at which to split the string. | 165 | * @param delimiter The string which specifies the places at which to split the string. |
166 | * @param max_tokens The maximum number of strings to split string into. | 166 | * @param max_tokens The maximum number of strings to split string into. |
167 | * @return A newly-allocated NULL-terminated array of strings or NULL if it | 167 | * @return A newly-allocated NULL-terminated array of strings or NULL if it |
168 | * fails to allocate the array. | 168 | * fails to allocate the array. |
169 | * | 169 | * |
170 | * This functin splits @p str into a maximum of @p max_tokens pieces, | 170 | * This functin splits @p string into a maximum of @p max_tokens pieces, |
171 | * using the given delimiter @p delim. @p delim is not included in any | 171 | * using the given delimiter @p delimiter. @p delimiter is not included in any |
172 | * of the resulting strings, unless @p max_tokens is reached. If | 172 | * of the resulting strings, unless @p max_tokens is reached. If |
173 | * @p max_tokens is less than @c 1, the string is splitted completely. If | 173 | * @p max_tokens is less than @c 1, the string is splitted completely. If |
174 | * @p max_tokens is reached, the last string in the returned string | 174 | * @p max_tokens is reached, the last string in the returned string |
@@ -185,16 +185,16 @@ EAPI char **eina_str_split(const char *string, const char *delimiter, i | |||
185 | /** | 185 | /** |
186 | * @brief Split a string using a delimiter and returns number of elements. | 186 | * @brief Split a string using a delimiter and returns number of elements. |
187 | * | 187 | * |
188 | * @param str The string to split. | 188 | * @param string The string to split. |
189 | * @param delim The string which specifies the places at which to split the string. | 189 | * @param delimiter The string which specifies the places at which to split the string. |
190 | * @param max_tokens The maximum number of strings to split string into. | 190 | * @param max_tokens The maximum number of strings to split string into. |
191 | * @param elements Where to return the number of elements in returned | 191 | * @param elements Where to return the number of elements in returned |
192 | * array (not counting the terminating @c NULL). May be @c NULL. | 192 | * array (not counting the terminating @c NULL). May be @c NULL. |
193 | * @return A newly-allocated NULL-terminated array of strings or NULL if it | 193 | * @return A newly-allocated NULL-terminated array of strings or NULL if it |
194 | * fails to allocate the array. | 194 | * fails to allocate the array. |
195 | * | 195 | * |
196 | * This functin splits @p str into a maximum of @p max_tokens pieces, | 196 | * This function splits @p string into a maximum of @p max_tokens pieces, |
197 | * using the given delimiter @p delim. @p delim is not included in any | 197 | * using the given delimiter @p delimiter. @p delimiter is not included in any |
198 | * of the resulting strings, unless @p max_tokens is reached. If | 198 | * of the resulting strings, unless @p max_tokens is reached. If |
199 | * @p max_tokens is less than @c 1, the string is splitted completely. If | 199 | * @p max_tokens is less than @c 1, the string is splitted completely. If |
200 | * @p max_tokens is reached, the last string in the returned string | 200 | * @p max_tokens is reached, the last string in the returned string |