On Sun, Dec 19, 2010 at 07:28:32PM +0100, Stefan Behnel wrote: > W. Trevor King, 19.12.2010 14:26: > > Here's a patch bringing the ByBuffer_Release declaration up to speed > > with current Python headers. > > Applied, thanks. The buffer PEP and its implementation were still in flux > even shortly before the release of Py3.
Actually, the declaration in PEP 3118 has not been updated [1]. Is that a PEP bug? > That was the time when the buffer.pxd was written, and I guess it > wasn't fixed since because most people just use the builtin buffer > support in Cython. Hmm, perhaps I'm doing things the wrong way then ;). I'm calling an external library that needs: fn(unsigned sort *array, int len) Is there another way to get that pointer? [1]: http://www.python.org/dev/peps/pep-3118/#releasing-the-buffer -- This email may be signed or encrypted with GPG (http://www.gnupg.org). The GPG signature (if present) will be attached as 'signature.asc'. For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy My public key is at http://www.physics.drexel.edu/~wking/pubkey.txt
pgpmoVYPtiYXn.pgp
Description: PGP signature
_______________________________________________ Cython-dev mailing list Cython-dev@codespeak.net http://codespeak.net/mailman/listinfo/cython-dev