diff options
Diffstat (limited to 'src/winrand.c')
-rw-r--r-- | src/winrand.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/winrand.c b/src/winrand.c index 0528972..149ae5c 100644 --- a/src/winrand.c +++ b/src/winrand.c @@ -58,13 +58,8 @@ typedef struct /* Please see PEP3123 for a discussion of PyObject_HEAD and changes made in 3.x to make it conform to Standard C. * These changes also dictate using Py_TYPE to check type, and PyVarObject_HEAD_INIT(NULL, 0) to initialize */ -#ifdef IS_PY3K -static PyTypeObject WRtype; #define is_WRobject(v) (Py_TYPE(v) == &WRtype) -#else staticforward PyTypeObject WRtype; -#define is_WRobject(v) ((v)->ob_type == &WRtype) -#endif static void WRdealloc(PyObject *ptr) |