Delete whitespaces for header and eo files

Summary: Fix whitespaces, indentation, wrap in eina headers.

Reviewers: cedric, jeffrey.w.grimshaw, Hermet

Reviewed By: Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2303

Conflicts:

	src/lib/eina/eina_thread_queue.h
This commit is contained in:
woochan lee 2015-04-10 14:13:11 +09:00 committed by ChunEon Park
parent 81628abe9f
commit dbf56936dc
17 changed files with 180 additions and 182 deletions

View File

@ -215,7 +215,6 @@ char *eina_file_cleanup(Eina_Tmpstr *path);
*
* @param file The path of the file.
*
*
*/
void eina_file_clean_close(Eina_File *file);
@ -224,7 +223,6 @@ void eina_file_clean_close(Eina_File *file);
*
* @param file The path of the file.
*
*
*/
void eina_file_real_close(Eina_File *file);
@ -237,7 +235,6 @@ void eina_file_real_close(Eina_File *file);
* @param file The file.
* @param length The current length of the file after the change.
*
*
*/
void eina_file_flush(Eina_File *file, unsigned long int length);
@ -253,7 +250,6 @@ void eina_file_flush(Eina_File *file, unsigned long int length);
* @param free_func A pointer to a function that will be called to free up the
* resources used by the map.
*
*
*/
void eina_file_common_map_free(Eina_File *file, void *map,
void (*free_func)(Eina_File_Map *map));

View File

@ -1112,6 +1112,7 @@ EAPI int eina_hash_superfast(const char *key,
*/
static inline int eina_hash_djb2(const char *key,
int len) EINA_ARG_NONNULL(1);
/**
* @brief
* Hash function first reported by Dan Bernstein many years ago in comp.lang.c
@ -1133,6 +1134,7 @@ static inline int eina_hash_djb2_len(const char *key,
*/
static inline int eina_hash_int32(const unsigned int *pkey,
int len) EINA_ARG_NONNULL(1);
/**
* @brief
* Hash function from http://www.concentric.net/~Ttwang/tech/inthash.htm

View File

@ -20,9 +20,9 @@
# define EINA_INLINE_UNICODE_
EAPI Eina_Unicode _eina_unicode_utf8_next_get(int ind,
unsigned char d,
const char *buf,
int *iindex);
unsigned char d,
const char *buf,
int *iindex);
#define ERROR_REPLACEMENT_BASE 0xDC80
#define EINA_IS_INVALID_BYTE(x) ((x == 192) || (x == 193) || (x >= 245))

View File

@ -558,10 +558,10 @@ static inline Eina_Bool eina_barrier_wait(Eina_Barrier *barrier);
* @details This function initializes a new #Eina_Spinlock, if spinlocks are available. If
* spinlocks are not avialable, it creates a new #Eina_Lock.
*
*@note Spinlocks are only implemented on the POSIX platform and are only available
* @note Spinlocks are only implemented on the POSIX platform and are only available
* if #EINA_HAVE_POSIX_SPINLOCK is defined. you get a new #Eina_Lock on All other platforms.
*
* see eina_spinlock_free()
* @see eina_spinlock_free()
*/
static inline Eina_Bool eina_spinlock_new(Eina_Spinlock *spinlock);

View File

@ -47,16 +47,16 @@ typedef struct _Eina_Class Eina_Class;
typedef struct _Eina_Object Eina_Object;
typedef void (*Eina_Class_Callback)(Eina_Class *c,
void *object,
void *data);
void *object,
void *data);
Eina_Class *eina_class_new(const char *name,
unsigned int class_size,
unsigned int pool_size,
Eina_Class_Callback constructor,
Eina_Class_Callback destructor,
Eina_Class *parent,
void *data);
unsigned int class_size,
unsigned int pool_size,
Eina_Class_Callback constructor,
Eina_Class_Callback destructor,
Eina_Class *parent,
void *data);
const char *eina_class_name_get(Eina_Class *c);
unsigned int eina_class_size_get(Eina_Class *c);
unsigned int eina_class_object_size_get(Eina_Class *c);
@ -65,12 +65,12 @@ void eina_class_repack(Eina_Class *c);
Eina_Object *eina_object_add(Eina_Class *c);
void *eina_object_pointer_get(Eina_Class *c,
Eina_Object *object);
Eina_Object *object);
void eina_object_del(Eina_Class *c,
Eina_Object *object);
Eina_Object *object);
Eina_Bool eina_object_parent_set(Eina_Class *parent_class, Eina_Object *parent,
Eina_Class *object_class, Eina_Object *object);
Eina_Class *object_class, Eina_Object *object);
Eina_Object *eina_object_parent_get(Eina_Class *c, Eina_Object *object);
/**

View File

@ -233,15 +233,15 @@ typedef Eina_Bool (*Eina_Simple_XML_Attribute_Cb)(void *data, const char *key, c
* content is located inside @a buf (does not include tag
* start, for instance "<!DOCTYPE value>" the offset points at
* "value"), the fifth is the size of the content. Whenever this
* function return #EINA_FALSE the parser will abort. @param
* data what to give as context to @a func.
* function return #EINA_FALSE the parser will abort.
* @param data what to give as context to @a func.
*
* @return #EINA_TRUE on success or #EINA_FALSE if it was aborted by user or
* parsing error.
*/
EAPI Eina_Bool eina_simple_xml_parse(const char *buf, unsigned buflen,
Eina_Bool strip,
Eina_Simple_XML_Cb func, const void *data);
Eina_Bool strip,
Eina_Simple_XML_Cb func, const void *data);
/**