otk_c/rect.h (raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
// -*- mode: C; indent-tabs-mode: nil; -*- #ifndef __rect_h #define __rect_h #include <Python.h> typedef struct OtkRect { PyObject_HEAD int x, y, width, height; } OtkRect; PyObject *OtkRect_New(int x, int y, int width, int height); #endif // __rect_h |