Clone another e.h macro. Maybe these should be combined to a common place?

SVN revision: 19281
This commit is contained in:
David Walter Seikel 2005-12-24 12:11:39 +00:00
parent 3931df64c9
commit 826b9c196b
1 changed files with 3 additions and 0 deletions

View File

@ -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 */