diff options
-rw-r--r-- | src/util/util.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/util/util.h b/src/util/util.h index c03691b..f63f40f 100644 --- a/src/util/util.h +++ b/src/util/util.h @@ -12,11 +12,14 @@ #define nslayout_util_util_h_ #ifndef UNUSED -#define UNUSED(x) (void)(x) +#define UNUSED(x_) (void)(x_) #endif #ifndef SLEN -#define SLEN(x) (sizeof((x)) - 1) +#define SLEN(x_) (sizeof((x_)) - 1) #endif +#define NSL_DOM_ERR(x_) ((x_ << 8) | NSLAYOUT_LIBDOM) +#define NSL_CSS_ERR(x_) ((x_ << 8) | NSLAYOUT_LIBCSS) + #endif |