glom r1011 - in trunk: . glom/libglom/python_embed



Author: murrayc
Date: 2007-02-07 10:50:35 +0000 (Wed, 07 Feb 2007)
New Revision: 1011
ViewCVS link: http://svn.gnome.org/viewcvs/glom?rev=1011&view=rev

Modified:
   trunk/ChangeLog
   trunk/glom/libglom/python_embed/py_glom_record.cc
   trunk/glom/libglom/python_embed/py_glom_related.cc
Log:
2007-02-07  Murray Cumming  <murrayc murrayc com>

        * glom/libglom/python_embed/py_glom_record.cc:
        * glom/libglom/python_embed/py_glom_related.cc: ifdef with PY_VERSION_HEX to 
        adapt to the changed function pointer signature of the tp_as_mapping_length 
        callbacks for PyMappingMethods in Python 2.5, which now have a Py_ssize_t 
        return type. This broke the build on 64-bit systems.
        Also, take a PyObject* object instead of our derived struct, and cast inside 
        our functions, to avoid errors from more fussy compiler versions.
        (Problems found by Daniel Holbach) 





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]