Ignore:
Timestamp:
12/30/08 08:30:52 (5 years ago)
Author:
xi
Message:

Fixed str/bytes issues with Python 3 in _yaml.pyx.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pyyaml/trunk/ext/_yaml.pxd

    r223 r334  
    1010    int PyString_GET_SIZE(object o) 
    1111    object PyString_FromStringAndSize(char *v, int l) 
    12     object PyUnicode_DecodeUTF8(char *s, int s, char *e) 
     12    object PyUnicode_FromString(char *u) 
     13    object PyUnicode_DecodeUTF8(char *u, int s, char *e) 
    1314    object PyUnicode_AsUTF8String(object o) 
     15    int PY_MAJOR_VERSION 
    1416 
    1517    ctypedef enum: 
Note: See TracChangeset for help on using the changeset viewer.