Hamish wrote:

> so (IIUC) swig 1.3.29 requires python >= 2.5 ?

FWIW, the wrappers generated by SWIG 1.3.36 have:

        /* Py_ssize_t for old Pythons */
        /* This code is as recommended by: */
        /* http://www.python.org/dev/peps/pep-0353/#conversion-guidelines */
        #if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN)
        typedef int Py_ssize_t;
        # define PY_SSIZE_T_MAX INT_MAX
        # define PY_SSIZE_T_MIN INT_MIN
        #endif

IOW, you should just need a newer version of SWIG.

-- 
Glynn Clements <[email protected]>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to