forked from enlightenment/efl
eina_magic_fail now only ERRs on NULL instead of CRI, making debugging much easier
SVN revision: 81666
This commit is contained in:
parent
d7b55afca2
commit
f5a98df8de
|
@ -1,3 +1,7 @@
|
||||||
|
2012-12-24 Mike Blumenkrantz
|
||||||
|
|
||||||
|
* eina_magic_fail() now throws error messages on NULL pointers instead of critical
|
||||||
|
|
||||||
2012-12-19 Gustavo Sverzut Barbieri (k-s)
|
2012-12-19 Gustavo Sverzut Barbieri (k-s)
|
||||||
|
|
||||||
* Fixed Evas RGBA_Image->flags.loaded for copied images.
|
* Fixed Evas RGBA_Image->flags.loaded for copied images.
|
||||||
|
|
1
NEWS
1
NEWS
|
@ -62,6 +62,7 @@ Improvements:
|
||||||
* Speedup Eina Rbtree Iterator by recycling memory instead of
|
* Speedup Eina Rbtree Iterator by recycling memory instead of
|
||||||
repeatedly calling malloc/free.
|
repeatedly calling malloc/free.
|
||||||
* Display more information with eet -l -v.
|
* Display more information with eet -l -v.
|
||||||
|
* eina_magic_fail() now throws error messages on NULL pointers instead of critical
|
||||||
|
|
||||||
Fixes:
|
Fixes:
|
||||||
* Fix PPC (big endian) image codec bug.
|
* Fix PPC (big endian) image codec bug.
|
||||||
|
|
|
@ -274,7 +274,7 @@ eina_magic_fail(void *d,
|
||||||
{
|
{
|
||||||
eina_error_set(EINA_ERROR_MAGIC_FAILED);
|
eina_error_set(EINA_ERROR_MAGIC_FAILED);
|
||||||
if (!d)
|
if (!d)
|
||||||
eina_log_print(EINA_LOG_DOMAIN_GLOBAL, EINA_LOG_LEVEL_CRITICAL,
|
eina_log_print(EINA_LOG_DOMAIN_GLOBAL, EINA_LOG_LEVEL_ERR,
|
||||||
file, fnc, line,
|
file, fnc, line,
|
||||||
"*** Eina Magic Check Failed !!!\n"
|
"*** Eina Magic Check Failed !!!\n"
|
||||||
" Input handle pointer is NULL !\n"
|
" Input handle pointer is NULL !\n"
|
||||||
|
|
Loading…
Reference in New Issue