]> Dogcows Code - chaz/openbox/blobdiff - otk_c/rect.h
so close to keybindings. wont link for now.
[chaz/openbox] / otk_c / rect.h
index 50547b574518ab13b65b4a5ba411a7b6f7a4ffa3..07a85f9eb696d221eea2037c12b139991ae5ed08 100644 (file)
@@ -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 <Python.h>
 
-typedef struct {
+extern PyTypeObject OtkRect_Type;
+
+typedef struct OtkRect {
+  PyObject_HEAD
   int x, y, width, height;
 } OtkRect;
 
This page took 0.021324 seconds and 4 git commands to generate.