add the OtkRect_Type extern
This commit is contained in:
parent
d5a96f6e38
commit
fed74a940e
1 changed files with 3 additions and 1 deletions
|
@ -1,9 +1,11 @@
|
||||||
// -*- mode: C; indent-tabs-mode: nil; -*-
|
// -*- mode: C; indent-tabs-mode: nil; c-basic-offset: 2; -*-
|
||||||
#ifndef __rect_h
|
#ifndef __rect_h
|
||||||
#define __rect_h
|
#define __rect_h
|
||||||
|
|
||||||
#include <Python.h>
|
#include <Python.h>
|
||||||
|
|
||||||
|
extern PyTypeObject OtkRect_Type;
|
||||||
|
|
||||||
typedef struct OtkRect {
|
typedef struct OtkRect {
|
||||||
PyObject_HEAD
|
PyObject_HEAD
|
||||||
int x, y, width, height;
|
int x, y, width, height;
|
||||||
|
|
Loading…
Reference in a new issue