mirror of
https://github.com/pybind/pybind11.git
synced 2025-02-19 15:10:38 +00:00
mkdoc.py: fixed DOC() macro
This commit is contained in:
parent
295acb2da0
commit
87810d8e91
@ -232,7 +232,7 @@ if __name__ == '__main__':
|
||||
*/
|
||||
|
||||
#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 __CAT1(a, b) a ## b
|
||||
#define __CAT2(a, b) __CAT1(a, b)
|
||||
|
Loading…
Reference in New Issue
Block a user