Hi, Martijn Meijers wrote: > cdef char hexstr[] = "0123456789ABCDEF" this should work: cdef char* hexstr = "0123456789ABCDEF" or, for use in Pyrex: cdef char* hexstr hexstr = "0123456789ABCDEF" Stefan