forked from enlightenment/efl
parent
a39edb7baa
commit
9f157c260c
|
@ -434,14 +434,14 @@ eina_list_init(void)
|
|||
sizeof (Eina_List), 320);
|
||||
if (!_eina_list_mp)
|
||||
{
|
||||
fprintf(stderr, "ERROR: Mempool for list cannot be allocated in list init.\n");
|
||||
EINA_ERROR_PERR("ERROR: Mempool for list cannot be allocated in list init.\n");
|
||||
abort();
|
||||
}
|
||||
_eina_list_accounting_mp = eina_mempool_new(choice, "list_accounting", NULL,
|
||||
sizeof (Eina_List_Accounting), 80);
|
||||
if (!_eina_list_accounting_mp)
|
||||
{
|
||||
fprintf(stderr, "ERROR: Mempool for list accounting cannot be allocated in list init.\n");
|
||||
EINA_ERROR_PERR("ERROR: Mempool for list accounting cannot be allocated in list init.\n");
|
||||
abort();
|
||||
}
|
||||
|
||||
|
|
|
@ -126,7 +126,7 @@ eina_mempool_init(void)
|
|||
_modules = eina_module_list_get(PACKAGE_LIB_DIR "/eina/mp/", 0, NULL, NULL);
|
||||
if (!_modules)
|
||||
{
|
||||
fprintf(stderr, "ERROR: no mempool modules able to be loaded.\n");
|
||||
EINA_ERROR_PERR("ERROR: no mempool modules able to be loaded.\n");
|
||||
abort();
|
||||
}
|
||||
eina_module_list_load(_modules);
|
||||
|
|
Loading…
Reference in New Issue