Blender Git Loki
Git Commits -> Revision 691ed21
Revision 691ed21 by Campbell Barton (master) August 22, 2017, 08:10 (GMT) |
PyAPI: replace PyC_FromArray with typed functions This was meant to be generic but introduced possible type errors and unnecessary complication. Replace with typed PyC_Tuple_PackArray_* functions. Also add PyC_Tuple_Pack_* macro which replaces some uses of Py_BuildValue, with the advantage of not having to parse a string. |
Commit Details:
Full Hash: 691ed21842397e52445fa8368fa81d757ba66123
Parent Commit: 049932c
Lines Changed: +87, -80
12 Modified Paths:
/source/blender/python/generic/py_capi_utils.c (+37, -39) (Diff)
/source/blender/python/generic/py_capi_utils.h (+15, -2) (Diff)
/source/blender/python/intern/bpy_app.c (+1, -2) (Diff)
/source/blender/python/intern/bpy_app_alembic.c (+4, -2) (Diff)
/source/blender/python/intern/bpy_app_ffmpeg.c (+3, -2) (Diff)
/source/blender/python/intern/bpy_app_ocio.c (+4, -3) (Diff)
/source/blender/python/intern/bpy_app_oiio.c (+4, -3) (Diff)
/source/blender/python/intern/bpy_app_opensubdiv.c (+4, -3) (Diff)
/source/blender/python/intern/bpy_app_openvdb.c (+4, -3) (Diff)
/source/blender/python/intern/bpy_app_sdl.c (+4, -2) (Diff)
/source/blender/python/intern/bpy_props.c (+6, -18) (Diff)
/source/blender/python/mathutils/mathutils_geometry.c (+1, -1) (Diff)
/source/blender/python/generic/py_capi_utils.h (+15, -2) (Diff)
/source/blender/python/intern/bpy_app.c (+1, -2) (Diff)
/source/blender/python/intern/bpy_app_alembic.c (+4, -2) (Diff)
/source/blender/python/intern/bpy_app_ffmpeg.c (+3, -2) (Diff)
/source/blender/python/intern/bpy_app_ocio.c (+4, -3) (Diff)
/source/blender/python/intern/bpy_app_oiio.c (+4, -3) (Diff)
/source/blender/python/intern/bpy_app_opensubdiv.c (+4, -3) (Diff)
/source/blender/python/intern/bpy_app_openvdb.c (+4, -3) (Diff)
/source/blender/python/intern/bpy_app_sdl.c (+4, -2) (Diff)
/source/blender/python/intern/bpy_props.c (+6, -18) (Diff)
/source/blender/python/mathutils/mathutils_geometry.c (+1, -1) (Diff)