Blender Git Loki

Git Commits -> Revision 3fd388f

Revision 3fd388f by Campbell Barton (master)
November 21, 2012, 02:28 (GMT)
py api cleanup, replace use...
- PyLong_FromSsize_t --> PyLong_FromLong
- PyLong_AsSsize_t --> PyLong_AsLong

In all places except for those where python api expects PySsize_t (index lookups mainly).

- use PyBool_FromLong in a few areas of the BGE.
- fix incorrect assumption in the BGE that PySequence_Check() means PySequence_Fast_ functions can be used.

Commit Details:

Full Hash: 3fd388fb06e474a4e9e2f6816eb0a0b95ab433e7
SVN Revision: 52420
Parent Commit: 387bb73
Lines Changed: +216, -196

46 Modified Paths:

/source/blender/python/bmesh/bmesh_py_ops.c (+1, -1) (Diff)
/source/blender/python/bmesh/bmesh_py_types_customdata.c (+2, -2) (Diff)
/source/blender/python/bmesh/bmesh_py_types_meshdata.c (+2, -2) (Diff)
/source/blender/python/generic/idprop_py_api.c (+4, -4) (Diff)
/source/blender/python/generic/py_capi_utils.c (+3, -3) (Diff)
/source/blender/python/intern/bpy_app.c (+2, -2) (Diff)
/source/blender/python/intern/bpy_rna.c (+9, -9) (Diff)
/source/blender/python/intern/bpy_rna_array.c (+3, -3) (Diff)
/source/gameengine/Expressions/IntValue.cpp (+1, -4) (Diff)
/source/gameengine/Expressions/ListValue.cpp (+5, -5) (Diff)
/source/gameengine/Expressions/PyObjectPlus.cpp (+14, -14) (Diff)
/source/gameengine/GameLogic/SCA_IController.cpp (+1, -1) (Diff)
/source/gameengine/GameLogic/SCA_ILogicBrick.cpp (+1, -1) (Diff)
/source/gameengine/GameLogic/SCA_ISensor.cpp (+4, -4) (Diff)
/source/gameengine/GameLogic/SCA_JoystickSensor.cpp (+8, -8) (Diff)
/source/gameengine/GameLogic/SCA_KeyboardSensor.cpp (+8, -7) (Diff)
/source/gameengine/GameLogic/SCA_MouseSensor.cpp (+6, -5) (Diff)
/source/gameengine/GameLogic/SCA_PythonController.cpp (+7, -3) (Diff)
/source/gameengine/GameLogic/SCA_PythonController.h (+1, -1) (Diff)
/source/gameengine/GameLogic/SCA_PythonKeyboard.cpp (+2, -2) (Diff)
/source/gameengine/GameLogic/SCA_PythonMouse.cpp (+2, -2) (Diff)
/source/gameengine/GameLogic/SCA_RandomActuator.cpp (+5, -5) (Diff)
/source/gameengine/GameLogic/SCA_RandomSensor.cpp (+2, -2) (Diff)
/source/gameengine/Ketsji/BL_Shader.cpp (+2, -2) (Diff)
/source/gameengine/Ketsji/KX_BlenderMaterial.cpp (+2, -2) (Diff)
/source/gameengine/Ketsji/KX_Camera.cpp (+6, -6) (Diff)
/source/gameengine/Ketsji/KX_ConstraintWrapper.cpp (+1, -1) (Diff)
/source/gameengine/Ketsji/KX_GameObject.cpp (+3, -3) (Diff)
/source/gameengine/Ketsji/KX_Light.cpp (+5, -5) (Diff)
/source/gameengine/Ketsji/KX_MeshProxy.cpp (+3, -3) (Diff)
/source/gameengine/Ketsji/KX_ObjectActuator.cpp (+3, -3) (Diff)
/source/gameengine/Ketsji/KX_PolygonMaterial.cpp (+2, -2) (Diff)
/source/gameengine/Ketsji/KX_PolyProxy.cpp (+11, -11) (Diff)
/source/gameengine/Ketsji/KX_PyConstraintBinding.cpp (+1, -1) (Diff)
/source/gameengine/Ketsji/KX_PythonInit.cpp (+10, -10) (Diff)
/source/gameengine/Ketsji/KX_PythonSeq.cpp (+3, -3) (Diff)
/source/gameengine/Ketsji/KX_VehicleWrapper.cpp (+3, -3) (Diff)
/source/gameengine/Ketsji/KX_VertexProxy.cpp (+2, -2) (Diff)
/source/gameengine/VideoTexture/FilterBlueScreen.cpp (+26, -20) (Diff)
/source/gameengine/VideoTexture/FilterColor.cpp (+2, -2) (Diff)
/source/gameengine/VideoTexture/FilterNormal.cpp (+1, -1) (Diff)
/source/gameengine/VideoTexture/ImageRender.cpp (+5, -4) (Diff)
/source/gameengine/VideoTexture/ImageViewport.cpp (+28, -18) (Diff)
/source/gameengine/VideoTexture/ImageViewport.h (+2, -2) (Diff)
/source/gameengine/VideoTexture/VideoBase.cpp (+1, -1) (Diff)
/source/gameengine/VideoTexture/VideoFFmpeg.cpp (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021