Blender V5.0
BPY_extern_python.hh File Reference
#include <cstdio>

Go to the source code of this file.

Functions

void BPY_python_start (bContext *C, int argc, const char **argv)
void BPY_python_end (bool do_python_exit)
void BPY_python_reset (bContext *C)
void BPY_python_use_system_env ()
bool BPY_python_use_system_env_get ()
void BPY_python_backtrace (FILE *fp)

Variables

char *(* BPY_python_app_help_text_fn )(bool all)

Detailed Description

Functionality relating to Python setup & tear down.

Definition in file BPY_extern_python.hh.

Function Documentation

◆ BPY_python_backtrace()

void BPY_python_backtrace ( FILE * fp)

Definition at line 693 of file bpy_interface.cc.

References PyThreadState_GetUnchecked.

Referenced by crashlog_file_generate().

◆ BPY_python_end()

◆ BPY_python_reset()

◆ BPY_python_start()

◆ BPY_python_use_system_env()

void BPY_python_use_system_env ( )

Definition at line 682 of file bpy_interface.cc.

References BLI_assert, and py_use_system_env.

Referenced by arg_handle_python_use_system_env_set().

◆ BPY_python_use_system_env_get()

bool BPY_python_use_system_env_get ( )
nodiscard

Definition at line 688 of file bpy_interface.cc.

References py_use_system_env.

Referenced by bpy_app_python_args_get().

Variable Documentation

◆ BPY_python_app_help_text_fn

char *(* BPY_python_app_help_text_fn) (bool all) ( bool all)
extern

Definition at line 712 of file bpy_app.cc.

Referenced by bpy_app_help_text(), and main_args_setup().