Show More
@@ -14,6 +14,13 b'' | |||
|
14 | 14 | #define IS_PY3K |
|
15 | 15 | #endif |
|
16 | 16 | |
|
17 | /* helper to switch things like string literal depending on Python version */ | |
|
18 | #ifdef IS_PY3K | |
|
19 | #define PY23(py2, py3) py3 | |
|
20 | #else | |
|
21 | #define PY23(py2, py3) py2 | |
|
22 | #endif | |
|
23 | ||
|
17 | 24 | /* clang-format off */ |
|
18 | 25 | typedef struct { |
|
19 | 26 | PyObject_HEAD |
General Comments 0
You need to be logged in to leave comments.
Login now