Blender V5.3
BPY_extern_python.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
10
11#pragma once
12
13/* For 'FILE'. */
14#include <cstdio>
15
16namespace blender {
17
18struct bContext;
19
20/* `bpy_interface.cc` */
21
23void BPY_python_start(bContext *C, int argc, const char **argv);
24void BPY_python_end(bool do_python_exit);
28[[nodiscard]] bool BPY_python_use_system_env_get();
29void BPY_python_backtrace(FILE *fp);
30
31/* `bpy_app.cc` */
32
34extern char *(*BPY_python_app_help_text_fn)(bool all);
35
36} // namespace blender
#define C
Definition RandGen.cpp:29
bool all(VecOp< bool, D >) RET
BMesh Iterators.
void BPY_python_use_user_env()
void BPY_python_backtrace(FILE *fp)
bool BPY_python_use_system_env_get()
void BPY_python_start(bContext *C, int argc, const char **argv)
void BPY_python_reset(bContext *C)
void BPY_python_end(bool do_python_exit)
void BPY_python_use_system_env()