*
* @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
*
* @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
*
* @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
*
* @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.
}
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;
}
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;
}