elm_priv.h: ELM_SAFE_FREE adoption.

I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.

THE LAST COMMIT OF ELM_SAFE_FREE STREAM.
I double checked all of my previous commits but if there is any issue, please contact me on irc #edevelop with SeoZ or SeoZ[galaxyS3].
Thanks.
This commit is contained in:
Daniel Juyung Seo 2013-05-29 21:12:52 +09:00
parent 416981aecc
commit 43cbb2e43e
1 changed files with 0 additions and 1 deletions

View File

@ -150,7 +150,6 @@ extern const char *_elm_engines[];
#undef MAX
#define MAX(x, y) (((x) > (y)) ? (x) : (y))
#define ELM_FREE_FUNC(_h, _fn) do { if (_h) { _fn((void*)_h); _h = NULL; } } while (0) // this will be removed
#define ELM_SAFE_FREE(_h, _fn) do { if (_h) { _fn((void*)_h); _h = NULL; } } while (0)
struct _Elm_Config