Blender Git Commit Log
Git Commits -> Revision 9fd569a
Revision 9fd569a by Campbell Barton (master) January 6, 2015, 08:09 (GMT) |
PyAPI: add utilities PyTuple_SET_ITEMS, Py_INCREF_RET Setting all values of a tuple is such a common operation that it deserves its own macro. Also added Py_INCREF_RET to avoid confusing use of comma operator. |
Commit Details:
Full Hash: 9fd569a654ded46901c7f20c5fe080972cbb10d2
Parent Commit: ee58d44
Lines Changed: +253, -118
1 Added Path:
/source/blender/python/generic/python_utildefines.h (+52, -0) (View)
26 Modified Paths:
/source/blender/blenlib/BLI_utildefines.h (+41, -2) (Diff)
/source/blender/freestyle/intern/python/BPy_ContextFunctions.cpp (+5, -4) (Diff)
/source/blender/freestyle/intern/python/BPy_Convert.cpp (+3, -2) (Diff)
/source/blender/freestyle/intern/python/BPy_Convert.h (+1, -0) (Diff)
/source/blender/freestyle/intern/python/Interface0D/BPy_SVertex.cpp (+8, -7) (Diff)
/source/blender/python/bmesh/bmesh_py_ops_call.c (+7, -5) (Diff)
/source/blender/python/bmesh/bmesh_py_types_customdata.c (+5, -3) (Diff)
/source/blender/python/bmesh/bmesh_py_types_meshdata.c (+6, -5) (Diff)
/source/blender/python/bmesh/bmesh_py_utils.c (+8, -4) (Diff)
/source/blender/python/generic/blf_py_api.c (+6, -2) (Diff)
/source/blender/python/generic/idprop_py_api.c (+11, -9) (Diff)
/source/blender/python/generic/py_capi_utils.c (+14, -2) (Diff)
/source/blender/python/generic/py_capi_utils.h (+1, -0) (Diff)
/source/blender/python/intern/bpy_app.c (+2, -2) (Diff)
/source/blender/python/intern/bpy_app_handlers.c (+3, -2) (Diff)
/source/blender/python/intern/bpy_app_translations.c (+3, -4) (Diff)
/source/blender/python/intern/bpy_library.c (+7, -8) (Diff)
/source/blender/python/intern/bpy_operator.c (+3, -3) (Diff)
/source/blender/python/intern/bpy_rna.c (+7, -7) (Diff)
/source/blender/python/mathutils/mathutils.c (+3, -2) (Diff)
/source/blender/python/mathutils/mathutils_Color.c (+7, -4) (Diff)
/source/blender/python/mathutils/mathutils_Euler.c (+2, -1) (Diff)
/source/blender/python/mathutils/mathutils_geometry.c (+30, -29) (Diff)
/source/blender/python/mathutils/mathutils_kdtree.c (+5, -3) (Diff)
/source/blender/python/mathutils/mathutils_Matrix.c (+7, -5) (Diff)
/source/blender/python/mathutils/mathutils_Quaternion.c (+6, -3) (Diff)
/source/blender/freestyle/intern/python/BPy_ContextFunctions.cpp (+5, -4) (Diff)
/source/blender/freestyle/intern/python/BPy_Convert.cpp (+3, -2) (Diff)
/source/blender/freestyle/intern/python/BPy_Convert.h (+1, -0) (Diff)
/source/blender/freestyle/intern/python/Interface0D/BPy_SVertex.cpp (+8, -7) (Diff)
/source/blender/python/bmesh/bmesh_py_ops_call.c (+7, -5) (Diff)
/source/blender/python/bmesh/bmesh_py_types_customdata.c (+5, -3) (Diff)
/source/blender/python/bmesh/bmesh_py_types_meshdata.c (+6, -5) (Diff)
/source/blender/python/bmesh/bmesh_py_utils.c (+8, -4) (Diff)
/source/blender/python/generic/blf_py_api.c (+6, -2) (Diff)
/source/blender/python/generic/idprop_py_api.c (+11, -9) (Diff)
/source/blender/python/generic/py_capi_utils.c (+14, -2) (Diff)
/source/blender/python/generic/py_capi_utils.h (+1, -0) (Diff)
/source/blender/python/intern/bpy_app.c (+2, -2) (Diff)
/source/blender/python/intern/bpy_app_handlers.c (+3, -2) (Diff)
/source/blender/python/intern/bpy_app_translations.c (+3, -4) (Diff)
/source/blender/python/intern/bpy_library.c (+7, -8) (Diff)
/source/blender/python/intern/bpy_operator.c (+3, -3) (Diff)
/source/blender/python/intern/bpy_rna.c (+7, -7) (Diff)
/source/blender/python/mathutils/mathutils.c (+3, -2) (Diff)
/source/blender/python/mathutils/mathutils_Color.c (+7, -4) (Diff)
/source/blender/python/mathutils/mathutils_Euler.c (+2, -1) (Diff)
/source/blender/python/mathutils/mathutils_geometry.c (+30, -29) (Diff)
/source/blender/python/mathutils/mathutils_kdtree.c (+5, -3) (Diff)
/source/blender/python/mathutils/mathutils_Matrix.c (+7, -5) (Diff)
/source/blender/python/mathutils/mathutils_Quaternion.c (+6, -3) (Diff)