Lines 1-10
Link Here
|
1 |
|
1 |
#include "compile.h" |
2 |
/*@unchecked@*/ |
2 |
#include "frameobject.h" |
3 |
extern PyTypeObject PyCode_Type; |
|
|
4 |
/*@unchecked@*/ |
5 |
extern PyTypeObject PyDictIter_Type; |
6 |
/*@unchecked@*/ |
7 |
extern PyTypeObject PyFrame_Type; |
8 |
|
3 |
|
9 |
#include "beecrypt/python/mpw-py.h" /* XXX debug only */ |
4 |
#include "beecrypt/python/mpw-py.h" /* XXX debug only */ |
10 |
#include "beecrypt/python/rng-py.h" /* XXX debug only */ |
5 |
#include "beecrypt/python/rng-py.h" /* XXX debug only */ |
Lines 33-39
Link Here
|
33 |
if (o->ob_type == &PyCode_Type) return "Code"; |
28 |
if (o->ob_type == &PyCode_Type) return "Code"; |
34 |
if (o->ob_type == &PyComplex_Type) return "Complex"; |
29 |
if (o->ob_type == &PyComplex_Type) return "Complex"; |
35 |
if (o->ob_type == &PyDict_Type) return "Dict"; |
30 |
if (o->ob_type == &PyDict_Type) return "Dict"; |
36 |
if (o->ob_type == &PyDictIter_Type) return "DictIter"; |
|
|
37 |
if (o->ob_type == &PyFile_Type) return "File"; |
31 |
if (o->ob_type == &PyFile_Type) return "File"; |
38 |
if (o->ob_type == &PyFloat_Type) return "Float"; |
32 |
if (o->ob_type == &PyFloat_Type) return "Float"; |
39 |
if (o->ob_type == &PyFrame_Type) return "Frame"; |
33 |
if (o->ob_type == &PyFrame_Type) return "Frame"; |