diff -r 600e30820ea7 -r d0868271663a sourcemm/util.h --- a/sourcemm/util.h Mon Jul 23 18:19:02 2007 +0000 +++ b/sourcemm/util.h Fri Aug 10 23:43:16 2007 +0000 @@ -19,6 +19,11 @@ */ /** + * @brief Returns true is string is not blank, false otherwise. + */ +#define IS_STR_FILLED(var) (var != NULL && var[0] != '\0') + +/** * @brief Returns a pointer to the extension in a file name. */ const char *UTIL_GetExtension(const char *file);