X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib-python/blobdiff_plain/78911cdb6782ddccef6de3cc913b714e10d2fc14..7c66d8c9ef1bf4cd701c6eb3da64d2b861cd6f6c:/unihash.pyx?ds=inline diff --git a/unihash.pyx b/unihash.pyx index 74217e8..de6f3d4 100644 --- a/unihash.pyx +++ b/unihash.pyx @@ -52,7 +52,7 @@ cdef class Unihash: def chunk(me, data): cdef void *p cdef Py_ssize_t n - PyObject_AsReadBuffer(data, &p, &n) + PyObject_AsReadBuffer(data, &p, &n) me._a = unihash_hash(me._i, me._a, p, n) def done(me): return _u32(me._a)