]> Dogcows Code - chaz/openbox/blobdiff - otk_c/rect.h
make rect a proper pyobject. use "typesafety"
[chaz/openbox] / otk_c / rect.h
index 50547b574518ab13b65b4a5ba411a7b6f7a4ffa3..c32daa7a8d1d82b8744e7824de9e8493a629159e 100644 (file)
@@ -4,7 +4,8 @@
 
 #include <Python.h>
 
-typedef struct {
+typedef struct OtkRect {
+  PyObject_HEAD
   int x, y, width, height;
 } OtkRect;
 
This page took 0.019527 seconds and 4 git commands to generate.