Changeset 334 for pyyaml/trunk/ext/_yaml.h
- Timestamp:
- 12/30/08 08:30:52 (3 years ago)
- Files:
-
- 1 modified
-
pyyaml/trunk/ext/_yaml.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
pyyaml/trunk/ext/_yaml.h
r331 r334 2 2 #include <yaml.h> 3 3 4 #if PY_MAJOR_VERSION >= 3 4 #if PY_MAJOR_VERSION < 3 5 6 #define PyUnicode_FromString(s) PyUnicode_DecodeUTF8((s), strlen(s), 'strict') 7 8 #else 5 9 6 10 #define PyString_CheckExact PyBytes_CheckExact
