diff -r e82968c21606 -r 716af2e7be78 sourcemm/util.h --- a/sourcemm/util.h Tue Sep 18 20:03:47 2007 +0000 +++ b/sourcemm/util.h Tue Sep 18 20:35:29 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);