Dan wrote: >> If x is the address to a byte array as a python int, you can do >> >> cdef byte *my_bytes = <byte*><size_t>x >> >> In Cython 0.11, size_t will be a native type, but until then you can >> use Py_ssize_t instead. >> >> - Robert > > When I try to build it, it tells me byte is not a type identifier.
Use "char", not "byte". Dag Sverre _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
