|
Blender
V2.93
|
#include <stdio.h>Go to the source code of this file.
Functions | |
| void | BPY_python_start (struct bContext *C, int argc, const char **argv) |
| void | BPY_python_end (void) |
| void | BPY_python_reset (struct bContext *C) |
| void | BPY_python_use_system_env (void) |
| void | BPY_python_backtrace (FILE *fp) |
Functionality relating to Python setup & tear down.
Definition in file BPY_extern_python.h.
| void BPY_python_backtrace | ( | FILE * | fp | ) |
| void BPY_python_end | ( | void | ) |
Definition at line 519 of file bpy_interface.c.
References BPY_app_translations_end(), BPY_atexit_unregister(), bpy_intern_string_exit(), BPY_rna_props_clear_all(), PIL_check_seconds_timer(), and pyrna_free_types().
Referenced by arg_handle_python_expr_run(), arg_handle_python_file_run(), arg_handle_python_text_run(), and WM_exit_ex().
| void BPY_python_reset | ( | struct bContext * | C | ) |
Definition at line 572 of file bpy_interface.c.
References BPY_app_handlers_reset(), BPY_driver_reset(), BPY_modules_load_user(), C, G, G_FLAG_SCRIPT_AUTOEXEC_FAIL, and G_FLAG_SCRIPT_AUTOEXEC_FAIL_QUIET.
Referenced by wm_file_read_post(), and WM_init().
| void BPY_python_start | ( | struct bContext * | C, |
| int | argc, | ||
| const char ** | argv | ||
| ) |
Definition at line 329 of file bpy_interface.c.
References BKE_appdir_folder_id(), BKE_appdir_program_path(), BKE_appdir_program_python_search(), BLENDER_SYSTEM_PYTHON, BPY_atexit_register(), BPy_init_modules(), bpy_intern_string_init(), bpy_internal_modules, BPY_run_string_eval(), C, FILE_MAX, mod(), NULL, py_use_system_env, pyrna_alloc_types(), and pystatus_exit_on_error().
Referenced by WM_init().
| void BPY_python_use_system_env | ( | void | ) |
Definition at line 583 of file bpy_interface.c.
References BLI_assert, and py_use_system_env.
Referenced by arg_handle_python_use_system_env_set().