diff options
Diffstat (limited to 'source/blender/python/intern/bpy_app_oiio.c')
-rw-r--r-- | source/blender/python/intern/bpy_app_oiio.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/source/blender/python/intern/bpy_app_oiio.c b/source/blender/python/intern/bpy_app_oiio.c index 05c192f6e2e..44ffce2ad07 100644 --- a/source/blender/python/intern/bpy_app_oiio.c +++ b/source/blender/python/intern/bpy_app_oiio.c @@ -32,18 +32,16 @@ static PyTypeObject BlenderAppOIIOType; static PyStructSequence_Field app_oiio_info_fields[] = { - {(char *)"supported", - (char *)("Boolean, True when Blender is built with OpenImageIO support")}, - {(char *)("version"), (char *)("The OpenImageIO version as a tuple of 3 numbers")}, - {(char *)("version_string"), (char *)("The OpenImageIO version formatted as a string")}, + {"supported", "Boolean, True when Blender is built with OpenImageIO support"}, + {"version", "The OpenImageIO version as a tuple of 3 numbers"}, + {"version_string", "The OpenImageIO version formatted as a string"}, {NULL}, }; static PyStructSequence_Desc app_oiio_info_desc = { - (char *)"bpy.app.oiio", /* name */ - (char - *)"This module contains information about OpeImageIO blender is linked against", /* doc */ - app_oiio_info_fields, /* fields */ + "bpy.app.oiio", /* name */ + "This module contains information about OpeImageIO blender is linked against", /* doc */ + app_oiio_info_fields, /* fields */ ARRAY_SIZE(app_oiio_info_fields) - 1, }; |