forked from enlightenment/efl
doc: fixed typo.
This commit is contained in:
parent
0987f06e6b
commit
8ba2cc6fe9
|
@ -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 */
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue