From 0820c5100d7ea8daed00e7b1bf183edc9414728f Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 21 Dec 2002 12:39:49 +0000 Subject: make rect a proper pyobject. use "typesafety" --- otk_c/rect.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'otk_c/rect.h') 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 -typedef struct { +typedef struct OtkRect { + PyObject_HEAD int x, y, width, height; } OtkRect; -- cgit v1.2.3