Blender Git Loki
Git Commits -> Revision bf0c8e1
Revision bf0c8e1 by Campbell Barton (master) January 6, 2015, 08:09 (GMT) |
PyAPI: add PyList_APPEND This appends while giving ownership to the list, avoiding temp assignment. This matches PyList_SET_ITEM which bypasses refcount's Note, this also reduce code-size, Py_DECREF is a rather heavy macro. |
Commit Details:
Full Hash: bf0c8e116db49379900020b5a20ba15d91b3fb9a
Parent Commit: 9fd569a
Lines Changed: +30, -64
7 Modified Paths:
/source/blender/python/bmesh/bmesh_py_types.c (+2, -4) (Diff)
/source/blender/python/bmesh/bmesh_py_types_select.c (+2, -4) (Diff)
/source/blender/python/generic/python_utildefines.h (+8, -0) (Diff)
/source/blender/python/intern/bpy.c (+2, -4) (Diff)
/source/blender/python/intern/bpy_rna.c (+11, -41) (Diff)
/source/blender/python/intern/bpy_rna_anim.c (+3, -4) (Diff)
/source/blender/python/mathutils/mathutils_geometry.c (+2, -7) (Diff)
/source/blender/python/bmesh/bmesh_py_types_select.c (+2, -4) (Diff)
/source/blender/python/generic/python_utildefines.h (+8, -0) (Diff)
/source/blender/python/intern/bpy.c (+2, -4) (Diff)
/source/blender/python/intern/bpy_rna.c (+11, -41) (Diff)
/source/blender/python/intern/bpy_rna_anim.c (+3, -4) (Diff)
/source/blender/python/mathutils/mathutils_geometry.c (+2, -7) (Diff)