From: Mark Wooding Date: Thu, 27 Jul 2017 09:46:14 +0000 (+0100) Subject: *.pyx, defs.pxi, grim.h: Add awful casts to `PyObject_AsReadBuffer'. X-Git-Tag: 1.1.0~11 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib-python/commitdiff_plain/704500e11c6a7e240acc047607d34bc6db520f15?hp=704500e11c6a7e240acc047607d34bc6db520f15 *.pyx, defs.pxi, grim.h: Add awful casts to `PyObject_AsReadBuffer'. Muffles compiler warnings. The second argument is meant to be `const void **' which is hard to manufacture with Pyrex. Smuggle a `const void *' into Pyrex's brain from `grim.h' and cast the arguments. ---