seoz pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=8ba2cc6fe985b5059300cb80564354c0e80f859e
commit 8ba2cc6fe985b5059300cb80564354c0e80f859e Author: Daniel Juyung Seo <seojuyu...@gmail.com> Date: Mon Aug 18 01:10:39 2014 +0900 doc: fixed typo. --- src/benchmarks/eina/Ecore_Data.h | 2 +- src/examples/eina/eina_list_01.c | 5 +++++ src/lib/eina/eina_inarray.h | 10 +++++----- src/lib/eina/eina_list.h | 6 +++--- src/lib/eio/Eio.h | 20 ++++++++++---------- 5 files changed, 24 insertions(+), 19 deletions(-) diff --git a/src/benchmarks/eina/Ecore_Data.h b/src/benchmarks/eina/Ecore_Data.h index 415efc7..e2ea607 100644 --- a/src/benchmarks/eina/Ecore_Data.h +++ b/src/benchmarks/eina/Ecore_Data.h @@ -204,7 +204,7 @@ EAPI int ecore_list_empty_is(Ecore_List *list); /* Remove every node in the list without freeing the list itself */ EAPI int ecore_list_clear(Ecore_List *list); -/* Free the list and it's contents */ +/* Free the list and its contents */ EAPI void ecore_list_destroy(Ecore_List *list); /* Creating and initializing list nodes */ diff --git a/src/examples/eina/eina_list_01.c b/src/examples/eina/eina_list_01.c index c82a7f1..668902b 100644 --- a/src/examples/eina/eina_list_01.c +++ b/src/examples/eina/eina_list_01.c @@ -15,10 +15,15 @@ main(int argc, char **argv) eina_init(); + printf("%p\n", list); list = eina_list_append(list, "tigh"); + printf("%p\n", list); list = eina_list_append(list, "adar"); + printf("%p\n", list); list = eina_list_append(list, "baltar"); + printf("%p\n", list); list = eina_list_append(list, "roslin"); + printf("%p\n", list); EINA_LIST_FOREACH(list, l, list_data) printf("%s\n", (char*)list_data); diff --git a/src/lib/eina/eina_inarray.h b/src/lib/eina/eina_inarray.h index 2b2d5b7..d205f56 100644 --- a/src/lib/eina/eina_inarray.h +++ b/src/lib/eina/eina_inarray.h @@ -282,7 +282,7 @@ EAPI void eina_inarray_flush(Eina_Inarray *array) EINA_ARG_NONNULL(1); * @return the index of the new member or -1 on errors. * * Copies the given pointer contents at the end of the array. The - * pointer is not referenced, instead it's contents is copied to the + * pointer is not referenced, instead its contents is copied to the * members array using the previously defined @c member_size. * * @see eina_inarray_insert_at(). @@ -313,7 +313,7 @@ EAPI void *eina_inarray_grow(Eina_Inarray *array, unsigned int size); * * Copies the given pointer contents at the array position defined by * given @a compare function. The pointer is not referenced, instead - * it's contents is copied to the members array using the previously + * its contents is copied to the members array using the previously * defined @c member_size. * * The data given to @a compare function are the pointer to member @@ -338,7 +338,7 @@ EAPI int eina_inarray_insert(Eina_Inarray *array, * * Copies the given pointer contents at the array position defined by * given @a compare function. The pointer is not referenced, instead - * it's contents is copied to the members array using the previously + * its contents is copied to the members array using the previously * defined @c member_size. * * The data given to @a compare function are the pointer to member @@ -410,7 +410,7 @@ EAPI void *eina_inarray_nth(const Eina_Inarray *array, * @return #EINA_TRUE on success, #EINA_FALSE on failure. * * Copies the given pointer contents at the given @a position in the - * array. The pointer is not referenced, instead it's contents is + * array. The pointer is not referenced, instead its contents is * copied to the members array using the previously defined * @c member_size. * @@ -465,7 +465,7 @@ EAPI void *eina_inarray_alloc_at(Eina_Inarray *array, * @return #EINA_TRUE on success, #EINA_FALSE on failure. * * Copies the given pointer contents at the given @a position in the - * array. The pointer is not referenced, instead it's contents is + * array. The pointer is not referenced, instead its contents is * copied to the members array using the previously defined * @c member_size. * diff --git a/src/lib/eina/eina_list.h b/src/lib/eina/eina_list.h index c030945..7a720b0 100644 --- a/src/lib/eina/eina_list.h +++ b/src/lib/eina/eina_list.h @@ -56,10 +56,10 @@ * that the return value is attributed to the @a list variable, this needs to * be done every time we use a a function that alters the contents of the list. * - * Now that we have a list with some elements in it we can look at it's contents. + * Now that we have a list with some elements in it we can look at its contents. * @until printf * - * There are many ways of accessing elements in the list, including by it's + * There are many ways of accessing elements in the list, including by its * index: * @until nth * @note It should be noted that the index starts at 0. @@ -1004,7 +1004,7 @@ EAPI Eina_List *eina_list_split_list(Eina_List *list, Eina_List *rela * greater than 0. It is the last value returned by func(). * @return the nearest node, @c NULL if not found. * - * This function searches for a node containing @p data as it's data in @p list, + * This function searches for a node containing @p data as its data in @p list, * if such a node exists it will be returned and @p result_cmp will be @p 0. If * the data of no node in @p list is equal to @p data, the node with the nearest * value to that will be returned and @p result_cmp will be the return value of diff --git a/src/lib/eio/Eio.h b/src/lib/eio/Eio.h index 5760317..348ed74 100644 --- a/src/lib/eio/Eio.h +++ b/src/lib/eio/Eio.h @@ -307,7 +307,7 @@ EAPI Eio_File *eio_file_stat_ls(const char *dir, const void *data); /** - * @brief List the content of a directory and all it's sub-content asynchronously + * @brief List the content of a directory and all its sub-content asynchronously * @param dir The directory to list. * @param filter_cb Callback used to decide if the file will be passed to main_cb * @param main_cb Callback called from the main loop for each accepted file (not filtered). @@ -331,7 +331,7 @@ EAPI Eio_File *eio_dir_stat_ls(const char *dir, const void *data); /** - * @brief List the content of a directory and all it's sub-content asynchronously + * @brief List the content of a directory and all its sub-content asynchronously * @param dir The directory to list. * @param filter_cb Callback used to decide if the file will be passed to main_cb * @param main_cb Callback called from the main loop for each accepted file (not filtered). @@ -479,7 +479,7 @@ EAPI Eio_File *eio_file_copy(const char *source, const void *data); /** - * @brief Move a directory and it's content asynchronously + * @brief Move a directory and its content asynchronously * @param source Should be the name of the directory to copy the data from. * @param dest Should be the name of the directory to copy the data to. * @param filter_cb Possible to deny the move of some files/directories. @@ -488,7 +488,7 @@ EAPI Eio_File *eio_file_copy(const char *source, * @param error_cb Callback called when something goes wrong. * @param data Unmodified user data passed to callbacks * - * This function will move a directory and all it's content from source to dest. + * This function will move a directory and all its content from source to dest. * It will try first to rename the directory, if not it will try to use splice * if possible, if not it will fallback to mmap/write. * It will try to preserve access right, but not user/group identity. @@ -507,7 +507,7 @@ EAPI Eio_File *eio_dir_move(const char *source, const void *data); /** - * @brief Copy a directory and it's content asynchronously + * @brief Copy a directory and its content asynchronously * @param source Should be the name of the directory to copy the data from. * @param dest Should be the name of the directory to copy the data to. * @param filter_cb Possible to deny the move of some files/directories. @@ -516,7 +516,7 @@ EAPI Eio_File *eio_dir_move(const char *source, * @param error_cb Callback called when something goes wrong. * @param data Unmodified user data passed to callbacks * - * This function will copy a directory and all it's content from source to dest. + * This function will copy a directory and all its content from source to dest. * It will try to use splice if possible, if not it will fallback to mmap/write. * It will try to preserve access right, but not user/group identity. * Every file will be passed to the filter_cb, so it's your job to decide if you @@ -532,7 +532,7 @@ EAPI Eio_File *eio_dir_copy(const char *source, const void *data); /** - * @brief Remove a directory and it's content asynchronously + * @brief Remove a directory and its content asynchronously * @param path Should be the name of the directory to destroy. * @param filter_cb Possible to deny the move of some files/directories. * @param progress_cb Callback called to know the progress of the copy. @@ -540,7 +540,7 @@ EAPI Eio_File *eio_dir_copy(const char *source, * @param error_cb Callback called when something goes wrong. * @param data Unmodified user data passed to callbacks * - * This function will remove a directory and all it's content. + * This function will remove a directory and all its content. * Every file will be passed to the filter_cb, so it's your job to decide if you * want to pass the file to the main_cb or not. Return EINA_TRUE to pass it to * the main_cb or EINA_FALSE to ignore it. @@ -755,13 +755,13 @@ EAPI Eio_File *eio_file_xattr_string_get(const char *path, /** - * @brief Initialize eio and all it's required submodule. + * @brief Initialize eio and all its required submodule. * @return the current number of eio users. */ EAPI int eio_init(void); /** - * @brief Shutdown eio and all it's submodule if possible. + * @brief Shutdown eio and all its submodule if possible. * @return the number of pending users of eio. */ EAPI int eio_shutdown(void); --