Commit 3769ede0 authored by Tres Seaver's avatar Tres Seaver

Unused macros.

parent df8fec2b
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
#ifdef PY3K #ifdef PY3K
#define INTERN PyUnicode_InternFromString #define INTERN PyUnicode_InternFromString
#define NATIVE_AS_STRING(x) PyBytes_AS_STRING(PyUnicode_AsUTF16String((x)))
#define NATIVE_FROM_STRING PyUnicode_FromString
#define NATIVE_FROM_STRING_AND_SIZE PyUnicode_FromStringAndSize #define NATIVE_FROM_STRING_AND_SIZE PyUnicode_FromStringAndSize
#define Py_TPFLAGS_HAVE_RICHCOMPARE 0 #define Py_TPFLAGS_HAVE_RICHCOMPARE 0
...@@ -36,8 +34,6 @@ ...@@ -36,8 +34,6 @@
#else #else
#define INTERN PyString_InternFromString #define INTERN PyString_InternFromString
#define NATIVE_AS_STRING PyString_AsString
#define NATIVE_FROM_STRING PyString_FromString
#define NATIVE_FROM_STRING_AND_SIZE PyString_FromStringAndSize #define NATIVE_FROM_STRING_AND_SIZE PyString_FromStringAndSize
#define INT_FROM_LONG(x) PyInt_FromLong(x) #define INT_FROM_LONG(x) PyInt_FromLong(x)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment