diff options
Diffstat (limited to 'src/yapf/yapf_settings.h')
-rw-r--r-- | src/yapf/yapf_settings.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/yapf/yapf_settings.h b/src/yapf/yapf_settings.h index aea509441..0d840721d 100644 --- a/src/yapf/yapf_settings.h +++ b/src/yapf/yapf_settings.h @@ -11,17 +11,17 @@ # ifndef YS_DEF /* * if YS_DEF is not defined, we will only do following declaration: - * typedef struct YapfSettings { + * struct YapfSettings { * bool disable_node_optimization; * uint32 max_search_nodes; * .... all other yapf related settings ... - * } YapfSettings; + * }; * * otherwise we will just expand YS_DEF_xx macros and then #undef them */ -# define YS_DEF_BEGIN typedef struct YapfSettings { +# define YS_DEF_BEGIN struct YapfSettings { # define YS_DEF(type, name) type name; -# define YS_DEF_END } YapfSettings; +# define YS_DEF_END }; # endif /* !YS_DEF */ |