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_build_options.c | |
parent | 6ccef2aa7e010c1e5b6986a696dc27ef8826c6c2 (diff) |
Cleanup: remove redundant 'char *' casts
Diffstat (limited to 'source/blender/python/intern/bpy_app_build_options.c')
-rw-r--r-- | source/blender/python/intern/bpy_app_build_options.c | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/source/blender/python/intern/bpy_app_build_options.c b/source/blender/python/intern/bpy_app_build_options.c index 7d2645e7776..39fcfa8b7bf 100644 --- a/source/blender/python/intern/bpy_app_build_options.c +++ b/source/blender/python/intern/bpy_app_build_options.c @@ -28,45 +28,45 @@ static PyTypeObject BlenderAppBuildOptionsType; static PyStructSequence_Field app_builtopts_info_fields[] = { /* names mostly follow CMake options, lowercase, after WITH_ */ - {(char *)"bullet", NULL}, - {(char *)"codec_avi", NULL}, - {(char *)"codec_ffmpeg", NULL}, - {(char *)"codec_sndfile", NULL}, - {(char *)"compositor", NULL}, - {(char *)"cycles", NULL}, - {(char *)"cycles_osl", NULL}, - {(char *)"freestyle", NULL}, - {(char *)"image_cineon", NULL}, - {(char *)"image_dds", NULL}, - {(char *)"image_hdr", NULL}, - {(char *)"image_openexr", NULL}, - {(char *)"image_openjpeg", NULL}, - {(char *)"image_tiff", NULL}, - {(char *)"input_ndof", NULL}, - {(char *)"audaspace", NULL}, - {(char *)"international", NULL}, - {(char *)"openal", NULL}, - {(char *)"opensubdiv", NULL}, - {(char *)"sdl", NULL}, - {(char *)"sdl_dynload", NULL}, - {(char *)"jack", NULL}, - {(char *)"libmv", NULL}, - {(char *)"mod_oceansim", NULL}, - {(char *)"mod_remesh", NULL}, - {(char *)"collada", NULL}, - {(char *)"opencolorio", NULL}, - {(char *)"openmp", NULL}, - {(char *)"openvdb", NULL}, - {(char *)"alembic", NULL}, - {(char *)"usd", NULL}, - {(char *)"fluid", NULL}, + {"bullet", NULL}, + {"codec_avi", NULL}, + {"codec_ffmpeg", NULL}, + {"codec_sndfile", NULL}, + {"compositor", NULL}, + {"cycles", NULL}, + {"cycles_osl", NULL}, + {"freestyle", NULL}, + {"image_cineon", NULL}, + {"image_dds", NULL}, + {"image_hdr", NULL}, + {"image_openexr", NULL}, + {"image_openjpeg", NULL}, + {"image_tiff", NULL}, + {"input_ndof", NULL}, + {"audaspace", NULL}, + {"international", NULL}, + {"openal", NULL}, + {"opensubdiv", NULL}, + {"sdl", NULL}, + {"sdl_dynload", NULL}, + {"jack", NULL}, + {"libmv", NULL}, + {"mod_oceansim", NULL}, + {"mod_remesh", NULL}, + {"collada", NULL}, + {"opencolorio", NULL}, + {"openmp", NULL}, + {"openvdb", NULL}, + {"alembic", NULL}, + {"usd", NULL}, + {"fluid", NULL}, {NULL}, }; static PyStructSequence_Desc app_builtopts_info_desc = { - (char *)"bpy.app.build_options", /* name */ - (char *)"This module contains information about options blender is built with", /* doc */ - app_builtopts_info_fields, /* fields */ + "bpy.app.build_options", /* name */ + "This module contains information about options blender is built with", /* doc */ + app_builtopts_info_fields, /* fields */ ARRAY_SIZE(app_builtopts_info_fields) - 1, }; |