diff options
Diffstat (limited to 'meowpp/meow/syntax.h')
-rw-r--r-- | meowpp/meow/syntax.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meowpp/meow/syntax.h b/meowpp/meow/syntax.h index f1b1424..ec23ae6 100644 --- a/meowpp/meow/syntax.h +++ b/meowpp/meow/syntax.h @@ -32,9 +32,14 @@ for (__VA_ARGS__; with_flag__##__LINE__; \ with_flag__##__LINE__ = false) -/** +/*! * @brief Python style keyword pass for empty block. */ #define pass +/*! + * @brief Prevent some warning. + */ +#define MEOW_SUPPRESS_UNUSED_WARNING(x) (void)(x) + #endif // __MEOW_SYNTAX_H__ |