[Pyrex] [cython] bin2hex conversion

Stefan Behnel stefan_ml at behnel.de
Fri May 9 17:44:44 CEST 2008


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



More information about the Pyrex mailing list