diff options
author | Anderson Lizardo <anderson.lizardo@openbossa.org> | 2010-02-03 09:53:45 -0400 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2010-02-03 16:53:06 -0200 |
commit | b7da6f1362e7acffcd64ca7c09cd5c522395ae05 (patch) | |
tree | 084eb84cf6c02a23517e02bba46ef47e73883a84 /tests/CMakeLists.txt | |
parent | 95d80742bc2916c88c0b7eac7a7b40c064ba1afe (diff) |
Fix build with Python 2.5 when using Py_INCREF()
On Python 2.5, Py_INCREF() does not cast the passed pointer to PyObject* (like
in Python 2.6 and newer versions). To make sure the generated code works on
Python 2.5, use reinterpret_cast<PyObject*>().
Diffstat (limited to 'tests/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions