Release tools: Add script to generate a list of bugs fixed from last release
[blender.git] / source / blender / python / BPY_extern_python.hh
blob0d86916712c5a16dfa9c73165966497df9087a4c
1 /* SPDX-FileCopyrightText: 2023 Blender Authors
3 * SPDX-License-Identifier: GPL-2.0-or-later */
5 /** \file
6 * \ingroup python
8 * Functionality relating to Python setup & tear down.
9 */
11 #pragma once
13 struct bContext;
15 /* For 'FILE'. */
16 #include <stdio.h>
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);
28 /* `bpy_app.cc` */
30 /* Access `main_args_help_as_string` needed to resolve bad level call. */
31 extern char *(*BPY_python_app_help_text_fn)(bool all);