move the extern OtkRect_Type to the .h
Dana Jansens danakj@orodu.net
1 files changed,
0 insertions(+),
2 deletions(-)
jump to
M
otk_c/rect.c
→
otk_c/rect.c
@@ -3,8 +3,6 @@
#include "../config.h" #include "rect.h" -extern PyTypeObject OtkRect_Type; - PyObject *OtkRect_New(int x, int y, int width, int height) { OtkRect* self = PyObject_New(OtkRect, &OtkRect_Type);