Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
87810d8e
Commit
87810d8e
authored
Apr 30, 2016
by
Wenzel Jakob
Browse files
mkdoc.py: fixed DOC() macro
parent
295acb2d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
tools/mkdoc.py
tools/mkdoc.py
+13
-13
No files found.
tools/mkdoc.py
View file @
87810d8e
...
@@ -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)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment