use Py_ssize_t rather than int when dealing with list sizes (original patch from...
authorCampbell Barton <ideasman42@gmail.com>
Tue, 6 Sep 2011 23:46:20 +0000 (23:46 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 6 Sep 2011 23:46:20 +0000 (23:46 +0000)
commit9161d3ce4bdd7c838751462b47eb045ea33a686e
tree8ce7ec347331f641b7fb53647b66a102235cd2bc
parent9baff83d72ccb287e2e6011c648877b96790e9a9
use Py_ssize_t rather than int when dealing with list sizes (original patch from Fedora but applied changes elsewhere too), also replace PyList_Size with PyList_GET_SIZE where typechecking is already done.
source/blender/python/generic/bpy_internal_import.c
source/blender/python/intern/bpy_rna.c
source/blender/python/mathutils/mathutils_geometry.c
source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp
source/gameengine/Expressions/ListValue.cpp
source/gameengine/Expressions/Value.cpp
source/gameengine/Ketsji/KX_PythonInit.cpp
source/gameengine/Ketsji/KX_Scene.cpp