chiark / gitweb /
*.pyx, defs.pxi, grim.h: Add awful casts to `PyObject_AsReadBuffer'.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 27 Jul 2017 09:46:14 +0000 (10:46 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 16 Aug 2017 03:31:32 +0000 (04:31 +0100)
commit704500e11c6a7e240acc047607d34bc6db520f15
tree7532a37b80acd5739830bdc2741d834f1379e190
parent78911cdb6782ddccef6de3cc913b714e10d2fc14
*.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.
assoc.pyx
codec.pyx
codec.pyx.in
crc32.pyx
defs.pxi
fdutils.pyx
grim.h
pkbuf.pyx
selpk.pyx
sym.pyx
unihash.pyx