mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
Macro: stringify
This commit is contained in:
parent
226839c977
commit
597a4b33a7
@ -26,6 +26,8 @@
|
||||
#define MACRO_DROP(...)
|
||||
#define MACRO_UNPAREN(...) __VA_ARGS__
|
||||
#define MACRO_SEP(a, b, sep) a sep b
|
||||
#define MACRO_STR(a) #a
|
||||
#define MACRO_STR_AFTER(a) MACRO_STR(a)
|
||||
|
||||
/* Aliases for some special chars */
|
||||
#define MACRO_COMMA ,
|
||||
|
Loading…
Reference in New Issue
Block a user