move the extern OtkRect_Type to the .h
This commit is contained in:
parent
fed74a940e
commit
4b443976da
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue