| branch | sourcemm-1.6.0 |
| changeset 348 | 716af2e7be78 |
| parent 347 | e82968c21606 |
1.1 --- a/sourcemm/util.h Tue Sep 18 20:03:47 2007 +0000 1.2 +++ b/sourcemm/util.h Tue Sep 18 20:35:29 2007 +0000 1.3 @@ -19,6 +19,11 @@ 1.4 */ 1.5 1.6 /** 1.7 + * @brief Returns true is string is not blank, false otherwise. 1.8 + */ 1.9 +#define IS_STR_FILLED(var) (var != NULL && var[0] != '\0') 1.10 + 1.11 +/** 1.12 * @brief Returns a pointer to the extension in a file name. 1.13 */ 1.14 const char *UTIL_GetExtension(const char *file);