summaryrefslogtreecommitdiff
path: root/otk_c/rect.h
diff options
context:
space:
mode:
Diffstat (limited to 'otk_c/rect.h')
-rw-r--r--otk_c/rect.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/otk_c/rect.h b/otk_c/rect.h
index 50547b57..c32daa7a 100644
--- a/otk_c/rect.h
+++ b/otk_c/rect.h
@@ -4,7 +4,8 @@
#include <Python.h>
-typedef struct {
+typedef struct OtkRect {
+ PyObject_HEAD
int x, y, width, height;
} OtkRect;