/* Why do this? Well PATH_MAX may vary from when eina itself is compiled
* to when the app using eina is compiled. exposing the path buffer below
- * cant safely and portably vary based on how/when you compile. it should
+ * can't safely and portably vary based on how/when you compile. it should
* always be the same for both eina inside AND for apps outside that use eina
* so define this to 8192 - most PATH_MAX values are like 4096 or 1024 (with
* windows i think being 260), so 8192 should cover almost all cases. there
* eina_lock_new(). If @p mutex can be locked, this function returns
* #EINA_TRUE; if @p mutex can not be locked, or is already locked, it
* returns #EINA_FALSE. This function does not block and returns
- * immediatly. For performance reasons, no check is done on
+ * immediately. For performance reasons, no check is done on
* @p mutex.
*
* @note On Windows CE, this function is actually eina_lock_take().
* faster on some computers than using our own allocators (like having
* a huge L2 cache, over 4MB).
* @li @c one_big: It call just one time malloc for the requested number
- * of items. Usefull when you know in advance how many object of some
+ * of items. Useful when you know in advance how many object of some
* type will live during the life of the mempool.
*
* @{
* 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
- * the need for having to maintain enviornment variables for every piece of
- * software to let it know its location, or or have to use large sets of
+ * the need for having to maintain environment variables for every piece of
+ * software to let it know its location, or have to use large sets of
* symlinks pointing from the compiled location to the new one.
*
* Being re-locatable at runtime allows much easier distribution and
* to determine its location. Call eina_prefix_new() early on before you
* change working directory or anything about argv[0] so it gets accurate
* information. It will use the first argument, being the executable itself,
- * to look in absolutel directories, relative paths and PATH to see if it
+ * to look in absolute directories, relative paths and PATH to see if it
* finds the right executable to determine just where the actual binary is
* installed and being run from. If you develop a share library, just pass
* NULL as argv0
* the exact install prefix for the software, or more specific environment
* variables like "MYAPP_BIN_DIR", "MYAPP_LIB_DIR", "MYAPP_DATA_DIR" and
* "MYAPP_LOCALE_DIR" which can be set by the user or scripts before
- * launching. If not provided (NULL) enviornment variables will not be
+ * launching. If not provided (NULL) environment variables will not be
* used to override compiled-in defaults or auto detections.
*
* The @p sharedir string provides a subdirectory inside the system shared
* data dir for data files. For example, if the system dir is
* /usr/local/share then this dir name is appended, creating
* /usr/local/share/appname if this dir was the "appname" string. It is
- * expexcted the application or library installs data files in this directory.
+ * expected the application or library installs data files in this directory.
*
* The @p magicsharefile is a filename or path of something inside the share
* or data dir to be used to test that the prefix detection worked. For
* {
* pfx = eina_prefix_new(argv[0], main, "APPNAME", "appname", NULL,
* PACKAGE_BIN_DIR, PACKAGE_LIB_DIR,
- * PACKAGE_DATA_DIR, LOCALE_DIR);
+ * PACKAGE_DATA_DIR, LOCALE_DIR);
* if (!pfx) printf("ERROR: Critical error in finding prefix\n");
* printf("install prefix is: %s\n", eina_prefix_get(pfx));
* printf("binaries are in: %s\n", eina_prefix_bin_get(pfx));
/** Used just after allocating a object */
#define EINA_REFCOUNT_INIT(Variable) (Variable)->__refcount = 1
-/** Used when using refering to an object one more time */
+/** Used when using referring to an object one more time */
#define EINA_REFCOUNT_REF(Variable) (Variable)->__refcount++
/** Used when removing a reference to an object. Free_Callback will automatically be called when necessary */
}
/*
- * prepare a jump table to avoid doing unecessary rewalk
+ * prepare a jump table to avoid doing unnecessary rewalk
* of the inlist as much as possible.
*/
for (ct = list; ct; ct = ct->next, jump_count++, count++)
*/
/* If we are on a 64bits computer user bigger generation and ID */
-/* FIXME: make it GCC independant */
+/* FIXME: make it GCC independent */
/* FIXME: maybe having 2^32 objects doesn't make sense and 2^24 are enough
so instead of increasing the object count, we could just add a magic
to first check if the pointer is valid at all (and maybe use a pointer
} \
} \
while (0)
- /* all first bytes of 2-byte sequences seperated by spaces. */
+ /* all first bytes of 2-byte sequences separated by spaces. */
_FIRST_SEQUENCES(0xC0, 0xDF);
- /* all first bytes of 3-byte sequences seperated by spaces. */
+ /* all first bytes of 3-byte sequences separated by spaces. */
_FIRST_SEQUENCES(0xE0, 0xEF);
- /* all first bytes of 4-byte sequences seperated by spaces. */
+ /* all first bytes of 4-byte sequences separated by spaces. */
_FIRST_SEQUENCES(0xF0, 0xF7);
- /* all first bytes of 5-byte sequences seperated by spaces. */
+ /* all first bytes of 5-byte sequences separated by spaces. */
_FIRST_SEQUENCES(0xF8, 0xFB);
- /* all first bytes of 6-byte sequences seperated by spaces. */
+ /* all first bytes of 6-byte sequences separated by spaces. */
_FIRST_SEQUENCES(0xFC, 0xFD);
/* Incomplete sequences first means the first utf8 char, len means