summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--otk_c/rect.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/otk_c/rect.h b/otk_c/rect.h
index c32daa7a..07a85f9e 100644
--- a/otk_c/rect.h
+++ b/otk_c/rect.h
@@ -1,9 +1,11 @@
-// -*- mode: C; indent-tabs-mode: nil; -*-
+// -*- mode: C; indent-tabs-mode: nil; c-basic-offset: 2; -*-
#ifndef __rect_h
#define __rect_h
#include <Python.h>
+extern PyTypeObject OtkRect_Type;
+
typedef struct OtkRect {
PyObject_HEAD
int x, y, width, height;