]> Dogcows Code - chaz/openbox/blobdiff - otk_c/rect.h
wrapper updates
[chaz/openbox] / otk_c / rect.h
index 4d08828cb35514f9c388b72f243ea015fc9c623e..07a85f9eb696d221eea2037c12b139991ae5ed08 100644 (file)
@@ -1,5 +1,16 @@
-typedef struct {
+// -*- mode: C; indent-tabs-mode: nil; c-basic-offset: 2; -*-
+#ifndef   __rect_h
+#define   __rect_h
+
+#include <Python.h>
+
+extern PyTypeObject OtkRect_Type;
+
+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
This page took 0.024339 seconds and 4 git commands to generate.