summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-12-21 14:57:59 +0000
committerDana Jansens <danakj@orodu.net>2002-12-21 14:57:59 +0000
commitfed74a940e39350f98cf94c36bd24935870af58d (patch)
treea54dd74b290869c2033d6c02edb8265bfcf9159d
parentd5a96f6e380122baa4f68fb3ce621b7c02a58ee9 (diff)
add the OtkRect_Type extern
-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;