Commit 87810d8e by Wenzel Jakob

mkdoc.py: fixed DOC() macro

parent 295acb2d
...@@ -232,7 +232,7 @@ if __name__ == '__main__': ...@@ -232,7 +232,7 @@ if __name__ == '__main__':
*/ */
#define __EXPAND(x) x #define __EXPAND(x) x
#define __COUNT(_1, _2, _3, _4, _5, COUNT, ...) COUNT #define __COUNT(_1, _2, _3, _4, _5, _6, _7, COUNT, ...) COUNT
#define __VA_SIZE(...) __EXPAND(__COUNT(__VA_ARGS__, 7, 6, 5, 4, 3, 2, 1)) #define __VA_SIZE(...) __EXPAND(__COUNT(__VA_ARGS__, 7, 6, 5, 4, 3, 2, 1))
#define __CAT1(a, b) a ## b #define __CAT1(a, b) a ## b
#define __CAT2(a, b) __CAT1(a, b) #define __CAT2(a, b) __CAT1(a, b)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment