be picky about ecore_data even during runtime.

let's try to remove ecore_data from code asap, so we can remove it
from svn as well.

If you need help ask mail list or #edevelop.



SVN revision: 46545
This commit is contained in:
Gustavo Sverzut Barbieri 2010-02-27 01:01:03 +00:00
parent 1f03f022fb
commit 064cea0516
4 changed files with 6 additions and 0 deletions

View File

@ -62,6 +62,7 @@ EAPI Ecore_Hash *
ecore_hash_new(Ecore_Hash_Cb hash_func, Ecore_Compare_Cb compare)
{
Ecore_Hash *new_hash = (Ecore_Hash *)malloc(sizeof(Ecore_Hash));
EINA_LOG_ERR("use eina_hash_* instead. See eina's documentation examples.");
if (!new_hash)
return NULL;

View File

@ -79,6 +79,7 @@ ecore_list_new(void)
{
Ecore_List *list;
EINA_LOG_ERR("use eina_list_* instead. See eina's documentation examples.");
list = (Ecore_List *)malloc(sizeof(Ecore_List));
if (!list)
return NULL;

View File

@ -57,6 +57,8 @@ ecore_plugin_load(Ecore_Path_Group *group, const char *plugin_name, const char *
Ecore_Plugin *plugin;
void *handle = NULL;
EINA_LOG_ERR("use eina_module instead. See eina's documentation examples.");
CHECK_PARAM_POINTER_RETURN("plugin_name", plugin_name, NULL);
if (!version || *version == '\0')

View File

@ -42,6 +42,8 @@ ecore_tree_new(Ecore_Compare_Cb compare_func)
{
Ecore_Tree *new_tree;
EINA_LOG_ERR("use eina_rbtree instead. See eina's documentation examples.");
new_tree = ECORE_TREE(malloc(sizeof(Ecore_Tree)));
if (!new_tree)
return NULL;