py api - added PyC_UnicodeFromByteAndSize() to match PyUnicode_FromStringAndSize()
authorCampbell Barton <ideasman42@gmail.com>
Sat, 22 Oct 2011 10:49:35 +0000 (10:49 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 22 Oct 2011 10:49:35 +0000 (10:49 +0000)
commitebe63b664baa2f4e65643a2535766e5babf9c8a7
tree7b0303d4f8311bd34483c0c7999c4c29b40f2263
parentcac4fde224f3dfb2831779df7b61f819a3564e2d
py api - added PyC_UnicodeFromByteAndSize() to match PyUnicode_FromStringAndSize()
also made RNA_property_string_get_alloc() return the length of the new string to avoid having to run strlen on it after.
15 files changed:
source/blender/editors/animation/anim_ipo_utils.c
source/blender/editors/interface/interface.c
source/blender/editors/interface/interface_layout.c
source/blender/editors/interface/interface_templates.c
source/blender/editors/space_buttons/buttons_context.c
source/blender/editors/space_buttons/buttons_ops.c
source/blender/editors/space_outliner/outliner_edit.c
source/blender/editors/space_outliner/outliner_tree.c
source/blender/makesrna/RNA_access.h
source/blender/makesrna/intern/rna_access.c
source/blender/python/generic/IDProp.c
source/blender/python/generic/py_capi_utils.c
source/blender/python/generic/py_capi_utils.h
source/blender/python/intern/bpy_interface.c
source/blender/python/intern/bpy_rna.c