From c67499dbcc72328ad90e31c10ecb24584431adc2 Mon Sep 17 00:00:00 2001 From: cedric Date: Thu, 13 Aug 2009 13:26:43 +0000 Subject: [PATCH] * eet: Fix prefix. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eet@41735 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/Eet.h | 8 ++++---- src/lib/eet_data.c | 14 +++++++------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/lib/Eet.h b/src/lib/Eet.h index a82178e..1db85f6 100644 --- a/src/lib/Eet.h +++ b/src/lib/Eet.h @@ -1049,7 +1049,7 @@ extern "C" { * * @since 1.3.0 */ - EAPI Eina_Bool eina_stream_data_descriptor_set(Eet_Data_Descriptor_Class *class, const char *name, int size); + EAPI Eina_Bool eet_eina_stream_data_descriptor_class_set(Eet_Data_Descriptor_Class *class, const char *name, int size); /** * This macro is an helper that set all the parameter of an Eet_Data_Descriptor_Class @@ -1061,7 +1061,7 @@ extern "C" { * * @since 1.3.0 */ -#define EINA_STREAM_DATA_DESCRIPTOR_SET(Class, Type) eina_stream_data_descriptor_set(Class, #Type , sizeof (Type)); +#define EET_EINA_STREAM_DATA_DESCRIPTOR_CLASS_SET(Class, Type) eet_eina_stream_data_descriptor_class_set(Class, #Type , sizeof (Type)); /** * This function is an helper that set all the parameter of an Eet_Data_Descriptor_Class @@ -1074,7 +1074,7 @@ extern "C" { * * @since 1.3.0 */ - EAPI Eina_Bool eina_file_data_descriptor_set(Eet_Data_Descriptor_Class *class, const char *name, int size); + EAPI Eina_Bool eet_eina_file_data_descriptor_class_set(Eet_Data_Descriptor_Class *class, const char *name, int size); /** * This macro is an helper that set all the parameter of an Eet_Data_Descriptor_Class @@ -1086,7 +1086,7 @@ extern "C" { * * @since 1.3.0 */ -#define EINA_FILE_DATA_DESCRIPTOR_SET(Class, Type) eina_file_data_descriptor_set(Class, #Type , sizeof (Type)); +#define EET_EINA_FILE_DATA_DESCRIPTOR_CLASS_SET(Class, Type) eet_eina_file_data_descriptor_class_set(Class, #Type , sizeof (Type)); /** * This function frees a data descriptor when it is not needed anymore. diff --git a/src/lib/eet_data.c b/src/lib/eet_data.c index 23e676f..b95bc48 100644 --- a/src/lib/eet_data.c +++ b/src/lib/eet_data.c @@ -1022,19 +1022,19 @@ _eet_eina_hash_add_alloc(Eina_Hash *hash, const char *key, void *data) } static char * -_edje_str_direct_alloc(const char *str) +_eet_str_direct_alloc(const char *str) { return (char *)str; } static void -_edje_str_direct_free(const char *str) +_eet_str_direct_free(const char *str) { } /*---*/ EAPI Eina_Bool -eina_stream_data_descriptor_set(Eet_Data_Descriptor_Class *class, const char *name, int size) +eet_eina_stream_data_descriptor_class_set(Eet_Data_Descriptor_Class *class, const char *name, int size) { if (!class || !name) return EINA_FALSE; @@ -1058,15 +1058,15 @@ eina_stream_data_descriptor_set(Eet_Data_Descriptor_Class *class, const char *na } EAPI Eina_Bool -eina_file_data_descriptor_set(Eet_Data_Descriptor_Class *class, const char *name, int size) +eet_eina_file_data_descriptor_class_set(Eet_Data_Descriptor_Class *class, const char *name, int size) { - if (!eina_stream_data_descriptor_set(class, name, size)) + if (!eet_eina_stream_data_descriptor_class_set(class, name, size)) return EINA_FALSE; class->version = 2; - class->func.str_direct_alloc = _edje_str_direct_alloc; - class->func.str_direct_free = _edje_str_direct_free; + class->func.str_direct_alloc = _eet_str_direct_alloc; + class->func.str_direct_free = _eet_str_direct_free; return EINA_TRUE; } -- 2.7.4