source:
pyyaml/trunk/ext/_yaml.h
@
331
| Revision 331, 255 bytes checked in by xi, 4 years ago (diff) |
|---|
| Line | |
|---|---|
| 1 | |
| 2 | #include <yaml.h> |
| 3 | |
| 4 | #if PY_MAJOR_VERSION >= 3 |
| 5 | |
| 6 | #define PyString_CheckExact PyBytes_CheckExact |
| 7 | #define PyString_AS_STRING PyBytes_AS_STRING |
| 8 | #define PyString_GET_SIZE PyBytes_GET_SIZE |
| 9 | #define PyString_FromStringAndSize PyBytes_FromStringAndSize |
| 10 | |
| 11 | #endif |
Note: See TracBrowser
for help on using the repository browser.
