Skip to content
This repository was archived by the owner on Mar 8, 2018. It is now read-only.

Commit cf3c29d

Browse files
author
rickey
committed
Fixed undefined symbol on python3.2
1 parent 4aadc2f commit cf3c29d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

py_yajl.h

+2
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939

4040
#if PY_MAJOR_VERSION >= 3
4141
#define IS_PYTHON3
42+
#define PyString_AsStringAndSize PyBytes_AsStringAndSize
43+
#define PyString_Check PyBytes_Check
4244
#endif
4345

4446
typedef struct {

0 commit comments

Comments
 (0)