summaryrefslogtreecommitdiff
path: root/src/block_template.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/block_template.c')
-rw-r--r--src/block_template.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/block_template.c b/src/block_template.c
index 0e7442a..6a1ec93 100644
--- a/src/block_template.c
+++ b/src/block_template.c
@@ -69,12 +69,10 @@ typedef struct
*/
#ifdef IS_PY3K
static PyTypeObject ALGtype;
-#define is_ALGobject(v) (Py_TYPE(v) == &ALGtype)
#define PyInt_CheckExact PyLong_CheckExact
#define PyInt_AS_LONG PyLong_AS_LONG
#else
staticforward PyTypeObject ALGtype;
-#define is_ALGobject(v) ((v)->ob_type == &ALGtype)
#endif
static ALGobject *