blob: 7bb0e7886a0b5b3fd370e5ae73c0b8f33459e729 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
--- beecrypt-4.1.2/python/debug-py.c 2004-06-20 13:09:21.000000000 +0200
+++ beecrypt-cvs/python/debug-py.c 2005-06-16 09:38:01.000000000 +0200
@@ -1,10 +1,5 @@
-
-/*@unchecked@*/
-extern PyTypeObject PyCode_Type;
-/*@unchecked@*/
-extern PyTypeObject PyDictIter_Type;
-/*@unchecked@*/
-extern PyTypeObject PyFrame_Type;
+#include "compile.h"
+#include "frameobject.h"
#include "beecrypt/python/mpw-py.h" /* XXX debug only */
#include "beecrypt/python/rng-py.h" /* XXX debug only */
@@ -33,7 +28,6 @@
if (o->ob_type == &PyCode_Type) return "Code";
if (o->ob_type == &PyComplex_Type) return "Complex";
if (o->ob_type == &PyDict_Type) return "Dict";
- if (o->ob_type == &PyDictIter_Type) return "DictIter";
if (o->ob_type == &PyFile_Type) return "File";
if (o->ob_type == &PyFloat_Type) return "Float";
if (o->ob_type == &PyFrame_Type) return "Frame";
|