2
0
Fork 0

Don't check for NULL strings in CONST_STR_LEN

personal/stbuehler/wip
Stefan Bühler 2009-03-12 17:40:09 +01:00
parent 12b421b9a9
commit 87cd65e98f
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@
#define L_GOFFSET_FORMAT G_GINT64_FORMAT
#define L_GOFFSET_MODIFIER G_GINT64_MODIFIER
#define CONST_STR_LEN(x) (x), (x) ? sizeof(x) - 1 : 0
#define CONST_STR_LEN(x) (x), sizeof(x) - 1
#define GSTR_LEN(x) (x) ? (x)->str : "", (x) ? (x)->len : 0
#define GSTR_SAFE_STR(x) ((x && x->str) ? x->str : "(null)")