*.pyx, defs.pxi, grim.h: Add awful casts to `PyObject_AsReadBuffer'.
[mLib-python] / grim.h
diff --git a/grim.h b/grim.h
index 75774a5..85ea681 100644 (file)
--- a/grim.h
+++ b/grim.h
@@ -1,7 +1,5 @@
 /* -*-c-*-
  *
- * $Id$
- *
  * Grim hacks to support the Pyrex code
  *
  * (c) 2005 Straylight/Edgeware
@@ -40,6 +38,7 @@
 /*----- Utilities ---------------------------------------------------------*/
 
 #define PSIZEOF(x) sizeof(*x)
+typedef const void *cvp;
 
 #define RETURN_OBJ(obj) do { Py_INCREF(obj); return (obj); } while (0)
 #define RETURN_ME RETURN_OBJ(me)