Changeset View
Changeset View
Standalone View
Standalone View
source/blender/python/intern/bpy_app.c
| Show All 30 Lines | |||||
| #include <Python.h> | #include <Python.h> | ||||
| #include "bpy_app.h" | #include "bpy_app.h" | ||||
| #include "bpy_app_ffmpeg.h" | #include "bpy_app_ffmpeg.h" | ||||
| #include "bpy_app_ocio.h" | #include "bpy_app_ocio.h" | ||||
| #include "bpy_app_oiio.h" | #include "bpy_app_oiio.h" | ||||
| #include "bpy_app_openvdb.h" | |||||
| #include "bpy_app_sdl.h" | #include "bpy_app_sdl.h" | ||||
| #include "bpy_app_build_options.h" | #include "bpy_app_build_options.h" | ||||
| #include "bpy_app_translations.h" | #include "bpy_app_translations.h" | ||||
| #include "bpy_app_handlers.h" | #include "bpy_app_handlers.h" | ||||
| #include "bpy_driver.h" | #include "bpy_driver.h" | ||||
| ▲ Show 20 Lines • Show All 46 Lines • ▼ Show 20 Lines | static PyStructSequence_Field app_info_fields[] = { | ||||
| {(char *)"build_cxxflags", (char *)"C++ compiler flags"}, | {(char *)"build_cxxflags", (char *)"C++ compiler flags"}, | ||||
| {(char *)"build_linkflags", (char *)"Binary linking flags"}, | {(char *)"build_linkflags", (char *)"Binary linking flags"}, | ||||
| {(char *)"build_system", (char *)"Build system used"}, | {(char *)"build_system", (char *)"Build system used"}, | ||||
| /* submodules */ | /* submodules */ | ||||
| {(char *)"ffmpeg", (char *)"FFmpeg library information backend"}, | {(char *)"ffmpeg", (char *)"FFmpeg library information backend"}, | ||||
| {(char *)"ocio", (char *)"OpenColorIO library information backend"}, | {(char *)"ocio", (char *)"OpenColorIO library information backend"}, | ||||
| {(char *)"oiio", (char *)"OpenImageIO library information backend"}, | {(char *)"oiio", (char *)"OpenImageIO library information backend"}, | ||||
| {(char *)"openvdb", (char *)"OpenVDB library information backend"}, | |||||
| {(char *)"sdl", (char *)"SDL library information backend"}, | {(char *)"sdl", (char *)"SDL library information backend"}, | ||||
| {(char *)"build_options", (char *)"A set containing most important enabled optional build features"}, | {(char *)"build_options", (char *)"A set containing most important enabled optional build features"}, | ||||
| {(char *)"handlers", (char *)"Application handler callbacks"}, | {(char *)"handlers", (char *)"Application handler callbacks"}, | ||||
| {(char *)"translations", (char *)"Application and addons internationalization API"}, | {(char *)"translations", (char *)"Application and addons internationalization API"}, | ||||
| {NULL}, | {NULL}, | ||||
| }; | }; | ||||
| static PyStructSequence_Desc app_info_desc = { | static PyStructSequence_Desc app_info_desc = { | ||||
| ▲ Show 20 Lines • Show All 61 Lines • ▼ Show 20 Lines | #else | ||||
| SetBytesItem("Unknown"); | SetBytesItem("Unknown"); | ||||
| SetBytesItem("Unknown"); | SetBytesItem("Unknown"); | ||||
| SetBytesItem("Unknown"); | SetBytesItem("Unknown"); | ||||
| #endif | #endif | ||||
| SetObjItem(BPY_app_ffmpeg_struct()); | SetObjItem(BPY_app_ffmpeg_struct()); | ||||
| SetObjItem(BPY_app_ocio_struct()); | SetObjItem(BPY_app_ocio_struct()); | ||||
| SetObjItem(BPY_app_oiio_struct()); | SetObjItem(BPY_app_oiio_struct()); | ||||
| SetObjItem(BPY_app_openvdb_struct()); | |||||
| SetObjItem(BPY_app_sdl_struct()); | SetObjItem(BPY_app_sdl_struct()); | ||||
| SetObjItem(BPY_app_build_options_struct()); | SetObjItem(BPY_app_build_options_struct()); | ||||
| SetObjItem(BPY_app_handlers_struct()); | SetObjItem(BPY_app_handlers_struct()); | ||||
| SetObjItem(BPY_app_translations_struct()); | SetObjItem(BPY_app_translations_struct()); | ||||
| #undef SetIntItem | #undef SetIntItem | ||||
| #undef SetStrItem | #undef SetStrItem | ||||
| #undef SetBytesItem | #undef SetBytesItem | ||||
| ▲ Show 20 Lines • Show All 146 Lines • Show Last 20 Lines | |||||