diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-12-21 12:39:49 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-12-21 12:39:49 +0000 |
| commit | 0820c5100d7ea8daed00e7b1bf183edc9414728f (patch) | |
| tree | 61111c19b7c4e98e3f7a96248cb1371c7d05a18c /otk_c/rect.h | |
| parent | 9e4d1bbabcabef13b740dd7201e35c3314abfbee (diff) | |
make rect a proper pyobject. use "typesafety"
Diffstat (limited to 'otk_c/rect.h')
| -rw-r--r-- | otk_c/rect.h | 3 |
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; |
