forked from enlightenment/efl
Clone another e.h macro. Maybe these should be combined to a common place?
SVN revision: 19281
This commit is contained in:
parent
3931df64c9
commit
826b9c196b
|
@ -74,6 +74,9 @@
|
|||
#undef IF_FREE
|
||||
#define IF_FREE(ptr) if (ptr) free(ptr); ptr = NULL;
|
||||
|
||||
#undef IF_FN_DEL
|
||||
#define IF_FN_DEL(_fn, ptr) if (ptr) { _fn(ptr); ptr = NULL; }
|
||||
|
||||
inline void ecore_print_warning(const char *function, const char *sparam);
|
||||
|
||||
/* convenience macros for checking pointer parameters for non-NULL */
|
||||
|
|
Loading…
Reference in New Issue