diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-12-20 02:42:57 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-12-20 02:42:57 +0300 |
commit | 9a9f39e4661163391bb8e3eb782438e425abe684 (patch) | |
tree | e67dc76e18b408a2708dc5b5f7a7b3e89bd552cf /source/blender/python/intern/bpy_app_sdl.c | |
parent | 6ccef2aa7e010c1e5b6986a696dc27ef8826c6c2 (diff) |
Cleanup: remove redundant 'char *' casts
Diffstat (limited to 'source/blender/python/intern/bpy_app_sdl.c')
-rw-r--r-- | source/blender/python/intern/bpy_app_sdl.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/source/blender/python/intern/bpy_app_sdl.c b/source/blender/python/intern/bpy_app_sdl.c index 7e3d02076f2..1bc3d07473a 100644 --- a/source/blender/python/intern/bpy_app_sdl.c +++ b/source/blender/python/intern/bpy_app_sdl.c @@ -46,20 +46,20 @@ static PyTypeObject BlenderAppSDLType; static PyStructSequence_Field app_sdl_info_fields[] = { - {(char *)"supported", (char *)("Boolean, True when Blender is built with SDL support")}, - {(char *)"version", (char *)("The SDL version as a tuple of 3 numbers")}, - {(char *)"version_string", (char *)("The SDL version formatted as a string")}, - {(char *)"available", - (char *)("Boolean, True when SDL is available. This is False when " - "either *supported* is False, or *dynload* is True and " - "Blender cannot find the correct library.")}, + {"supported", ("Boolean, True when Blender is built with SDL support")}, + {"version", ("The SDL version as a tuple of 3 numbers")}, + {"version_string", ("The SDL version formatted as a string")}, + {"available", + ("Boolean, True when SDL is available. This is False when " + "either *supported* is False, or *dynload* is True and " + "Blender cannot find the correct library.")}, {NULL}, }; static PyStructSequence_Desc app_sdl_info_desc = { - (char *)"bpy.app.sdl", /* name */ - (char *)"This module contains information about SDL blender is linked against", /* doc */ - app_sdl_info_fields, /* fields */ + "bpy.app.sdl", /* name */ + "This module contains information about SDL blender is linked against", /* doc */ + app_sdl_info_fields, /* fields */ ARRAY_SIZE(app_sdl_info_fields) - 1, }; |