1 /* SPDX-FileCopyrightText: 2023 Blender Authors
3 * SPDX-License-Identifier: GPL-2.0-or-later */
8 * Functionality relating to Python setup & tear down.
18 /* `bpy_interface.cc` */
20 /** Call #BPY_context_set first. */
21 void BPY_python_start(bContext
*C
, int argc
, const char **argv
);
22 void BPY_python_end(bool do_python_exit
);
23 void BPY_python_reset(bContext
*C
);
24 void BPY_python_use_system_env();
25 bool BPY_python_use_system_env_get();
26 void BPY_python_backtrace(FILE *fp
);
30 /* Access `main_args_help_as_string` needed to resolve bad level call. */
31 extern char *(*BPY_python_app_help_text_fn
)(bool all
);