[pypy-svn] r79734 - pypy/branch/fast-forward/pypy/module/cpyext/src
afa at codespeak.net
afa at codespeak.net
Thu Dec 2 08:51:28 CET 2010
Author: afa
Date: Thu Dec 2 08:51:24 2010
New Revision: 79734
Modified:
pypy/branch/fast-forward/pypy/module/cpyext/src/structseq.c
Log:
The reminder "worked", this code is not needed with 2.7
Modified: pypy/branch/fast-forward/pypy/module/cpyext/src/structseq.c
==============================================================================
--- pypy/branch/fast-forward/pypy/module/cpyext/src/structseq.c (original)
+++ pypy/branch/fast-forward/pypy/module/cpyext/src/structseq.c Thu Dec 2 08:51:24 2010
@@ -5,13 +5,6 @@
#include "structmember.h"
#include "structseq.h"
-#ifdef Py_TYPE
-#error "Please remove these definitions"
-#else
-#define Py_TYPE(ob) (((PyObject*)(ob))->ob_type)
-#define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)
-#endif
-
static char visible_length_key[] = "n_sequence_fields";
static char real_length_key[] = "n_fields";
static char unnamed_fields_key[] = "n_unnamed_fields";
More information about the Pypy-commit
mailing list