From 9e56733c657f08ca5faa166de48f451b0f9151f9 Mon Sep 17 00:00:00 2001 From: jihoon Date: Thu, 5 Apr 2012 04:24:36 +0000 Subject: [PATCH] eina: fix typos in doc git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@69927 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/include/eina_convert.h | 2 +- src/include/eina_file.h | 8 ++++---- src/include/eina_mmap.h | 2 +- src/include/eina_module.h | 10 +++++----- src/include/eina_prefix.h | 4 ++-- src/include/eina_tiler.h | 6 +++--- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/include/eina_convert.h b/src/include/eina_convert.h index af839e2..2d257cf 100644 --- a/src/include/eina_convert.h +++ b/src/include/eina_convert.h @@ -38,7 +38,7 @@ * * To convert an integer to a string in the decimal base, * eina_convert_itoa() should be used. If the hexadecimal base is - * wanted, eina_convert_xtoa() should be used. They all need a bufffer + * wanted, eina_convert_xtoa() should be used. They all need a buffer * sufficiently large to store all the cyphers. * * Here is an example of use: diff --git a/src/include/eina_file.h b/src/include/eina_file.h index 0110ea7..fcb636d 100644 --- a/src/include/eina_file.h +++ b/src/include/eina_file.h @@ -271,7 +271,7 @@ EAPI Eina_Iterator *eina_file_ls(const char *dir) EINA_WARN_UNUSED_RESULT EINA_A * * @note The container for the iterator is of type DIR*. * @note The iterator will walk over '.' and '..' without returning them. - * @note The difference between this function ahd eina_file_direct_ls() is that + * @note The difference between this function and eina_file_direct_ls() is that * it guarantees the file type information will be correct incurring a * possible performance penalty. * @@ -320,7 +320,7 @@ EAPI int eina_file_statat(void *container, Eina_File_Direct_Info *info, Eina_Sta * * @note The container for the iterator is of type DIR*. * @note The iterator will walk over '.' and '..' without returning them. - * @note The difference between this function ahd eina_file_stat_ls() is that + * @note The difference between this function and eina_file_stat_ls() is that * it may not get the file type information however it is likely to be * faster. * @@ -363,7 +363,7 @@ EAPI Eina_File *eina_file_open(const char *name, Eina_Bool shared) EINA_WARN_UNU * * @param file File handler to unref. * - * Decremente file's refcount and if it reaches zero close it. + * Decrement file's refcount and if it reaches zero close it. * * @since 1.1 */ @@ -467,7 +467,7 @@ EAPI void eina_file_map_free(Eina_File *file, void *map); * @brief Tell if their was an IO error during the life of a mmaped file * * @param file The file handler to the mmaped file. - * @param map Memory map to check if an error occured on it. + * @param map Memory map to check if an error occurred on it. * @return #EINA_TRUE if there was an IO error, #EINA_FALSE otherwise. * * @since 1.2 diff --git a/src/include/eina_mmap.h b/src/include/eina_mmap.h index b87ecc8..b613b0e 100644 --- a/src/include/eina_mmap.h +++ b/src/include/eina_mmap.h @@ -18,7 +18,7 @@ * @return #EINA_TRUE on success, #EINA_FALSE on failure. * * This enables (if possible on your platform) a signal handler for - * SIGBUS, that replaces the "bad page" with a pzge of 0's (from /dev/zero) + * SIGBUS, that replaces the "bad page" with a page of 0's (from /dev/zero) * if a SIGBUS occurs. This allows for safe mmap() of files that may truncate * or from files on devices with IO errors. Normally these cases will result * in a SIGBUS being delivered (and termination of your process), but diff --git a/src/include/eina_module.h b/src/include/eina_module.h index 496a01c..5c52e56 100644 --- a/src/include/eina_module.h +++ b/src/include/eina_module.h @@ -50,7 +50,7 @@ * * The loaded shared objects may have two visible functions that will * be called and might provide initialization and shutdown - * proceedures. The symbols are @c __eina_module_init and + * procedures. The symbols are @c __eina_module_init and * @c __eina_module_shutdown and will be defined by the macros * EINA_MODULE_INIT() and EINA_MODULE_SHUTDOWN(). * @@ -162,11 +162,11 @@ EAPI Eina_Bool * #EINA_FALSE is returned. If it is a internal Eina module and the * module can not be initialized, the error * #EINA_ERROR_MODULE_INIT_FAILED is set and #EINA_FALSE is - * returned. If the module has already been loaded, it's refeence + * returned. If the module has already been loaded, it's reference * counter is increased by one and #EINA_TRUE is returned. If @p module is * @c NULL, the function returns immediately #EINA_FALSE. * - * When the symbols of the shared file objetcts are not needed + * When the symbols of the shared file objects are not needed * anymore, call eina_module_unload() to unload the module. */ EAPI Eina_Bool @@ -190,7 +190,7 @@ EAPI Eina_Bool eina_module_unload(Eina_Module *module) EINA_ARG_NONNULL(1); /** - * @brief Retrive the data associated to a symbol. + * @brief Retrieve the data associated to a symbol. * * @param module The module. * @param symbol The symbol. @@ -236,7 +236,7 @@ EAPI char * eina_module_symbol_path_get(const void *symbol, const char *sub_dir) EINA_PURE EINA_MALLOC EINA_ARG_NONNULL(1, 2); /** - * @brief Return the path built from the value of an environment varialbe and a + * @brief Return the path built from the value of an environment variable and a * given sub directory. * * @param env The environment variable to expand. diff --git a/src/include/eina_prefix.h b/src/include/eina_prefix.h index 9e26703..7ca2143 100644 --- a/src/include/eina_prefix.h +++ b/src/include/eina_prefix.h @@ -38,9 +38,9 @@ typedef struct _Eina_Prefix Eina_Prefix; * @return The prefix handle, or NULL on failure * * Applications and libraries are most often not just single executables nor - * single shared library binares, but also come with extra modules they + * single shared library binaries, but also come with extra modules they * have to load, extra binary utilities they need to run, or have data files - * they need to load. A very primitve application ASSUMES a fixed install + * they need to load. A very primitive application ASSUMES a fixed install * location at compile-time, but this disallows the ability to re-locate * the application (or library) somewhere else after compilation (if you run * out of space on a given disk, partition etc. for example), or necessitate diff --git a/src/include/eina_tiler.h b/src/include/eina_tiler.h index 4b5ea15..1936149 100644 --- a/src/include/eina_tiler.h +++ b/src/include/eina_tiler.h @@ -118,8 +118,8 @@ * @section grid_slicer Grid Slicer * * Grid slicer and Eina_Tiler are usually used together, that is however @b not - * nescessary, they can be used independently. Grid slicer provides an easy API - * to divide an area in tiles which is usefull in certain applications to divide + * necessary, they can be used independently. Grid slicer provides an easy API + * to divide an area in tiles which is useful in certain applications to divide * the area that will be rendered into tiles. It's customary to, then create one * Eina_Tiler for each tile. * @@ -257,7 +257,7 @@ EAPI Eina_Iterator *eina_tiler_iterator_new(const Eina_Tiler *t); * iterate over every tile in the grid having as its data a * #Eina_Tile_Grid_Info. * - * @note This is a convinience function, iterating over the returned iterator is + * @note This is a convenience function, iterating over the returned iterator is * equivalent to calling eina_tile_grid_slicer_setup() and calling * eina_tile_grid_slicer_next() untill it returns EINA_FALSE. */ -- 2.7.4