(intintobjargproc)array_ass_slice, /*sq_ass_slice*/
};
-static typeobject Arraytype = {
+statichere typeobject Arraytype = {
OB_HEAD_INIT(&Typetype)
0,
"array",
return findmethod(md5_methods, (object *)self, name);
}
-static typeobject MD5type = {
+statichere typeobject MD5type = {
OB_HEAD_INIT(&Typetype)
0, /*ob_size*/
"md5", /*tp_name*/
#include "Python.h"
-#include <math.h>
+#include "mymath.h"
#define TRUE 1
#define FALSE 0
return Py_FindMethod(PyRotor_Methods, (PyObject * ) s, name);
}
-static PyTypeObject PyRotor_Type = {
+statichere PyTypeObject PyRotor_Type = {
PyObject_HEAD_INIT(&PyType_Type)
0, /*ob_size*/
"rotor", /*tp_name*/
return dictinsert(tp->t_attr, name, v);
}
-static typeobject Texttype = {
+statichere typeobject Texttype = {
OB_HEAD_INIT(&Typetype)
0, /*ob_size*/
"textedit", /*tp_name*/
return dictinsert(mp->m_attr, name, v);
}
-static typeobject Menutype = {
+statichere typeobject Menutype = {
OB_HEAD_INIT(&Typetype)
0, /*ob_size*/
"menu", /*tp_name*/
return dictinsert(bp->b_attr, name, v);
}
-static typeobject Bitmaptype = {
+statichere typeobject Bitmaptype = {
OB_HEAD_INIT(&Typetype)
0, /*ob_size*/
"bitmap", /*tp_name*/
return dictinsert(wp->w_attr, name, v);
}
-static typeobject Windowtype = {
+statichere typeobject Windowtype = {
OB_HEAD_INIT(&Typetype)
0, /*ob_size*/
"window", /*tp_name*/