Skip to content

Commit

Permalink
Cleanup stringify
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelortmann authored Dec 30, 2023
1 parent c603b00 commit 43358bd
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,7 @@ extern struct dcc_table DCC_CHAT, DCC_BOT, DCC_LOST, DCC_SCRIPT, DCC_BOT_NEW,
/* Default recommended flags for this user, use | as splitter */
#define EGG_BG_CONMASK LOG_MISC /* "o" */

/* Stringify macros */
#define EGG_MACRO_STR(x) EGG_STR(x)
#define EGG_STR(x) #x

#define EGG_AC_ARGS EGG_MACRO_STR(EGG_AC_ARGS_RAW)
#define EGG_AC_ARGS STRINGIFY(EGG_AC_ARGS_RAW)

#define ARRAY_SIZE(x) (sizeof (x) / sizeof *(x))

Expand Down

0 comments on commit 43358bd

Please sign in to comment.