X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=otk_c%2Frect.h;h=07a85f9eb696d221eea2037c12b139991ae5ed08;hb=ffb237bf4033df1bcf4a863cbe20970c1a66dcd9;hp=50547b574518ab13b65b4a5ba411a7b6f7a4ffa3;hpb=8d3d9ae75c3b023288af18492713b00ca8244fe1;p=chaz%2Fopenbox diff --git a/otk_c/rect.h b/otk_c/rect.h index 50547b57..07a85f9e 100644 --- a/otk_c/rect.h +++ b/otk_c/rect.h @@ -1,10 +1,13 @@ -// -*- mode: C; indent-tabs-mode: nil; -*- +// -*- mode: C; indent-tabs-mode: nil; c-basic-offset: 2; -*- #ifndef __rect_h #define __rect_h #include -typedef struct { +extern PyTypeObject OtkRect_Type; + +typedef struct OtkRect { + PyObject_HEAD int x, y, width, height; } OtkRect;