python string conversion
authorCampbell Barton <ideasman42@gmail.com>
Thu, 3 Nov 2011 14:09:18 +0000 (14:09 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 3 Nov 2011 14:09:18 +0000 (14:09 +0000)
commit665f602f152984f5a6f4ea05a2a90382acbf700a
treea7fa9484a60ac20878e2687995d2fd955958a7f6
parentd210703bcaf89014495f761797ae50f362394697
python string conversion
- use _PyUnicode_AsStringAndSize where possible
- use %R for PyErr_Format(...) rather then running repr on the object explicitly
- use const char
14 files changed:
source/blender/imbuf/intern/moviecache.c
source/blender/python/generic/IDProp.c
source/blender/python/generic/IDProp.h
source/blender/python/generic/py_capi_utils.c
source/blender/python/intern/bpy_operator.c
source/blender/python/intern/bpy_props.c
source/gameengine/Converter/BL_ActionActuator.cpp
source/gameengine/Expressions/ListValue.cpp
source/gameengine/Expressions/PyObjectPlus.cpp
source/gameengine/Expressions/StringValue.h
source/gameengine/GameLogic/SCA_PythonController.cpp
source/gameengine/Ketsji/KX_Camera.cpp
source/gameengine/Ketsji/KX_PythonInit.cpp
source/gameengine/Ketsji/KX_PythonSeq.cpp