|
Blender V5.3
|
#include <Python.h>#include "bpy.hh"#include "bpy_capi_utils.hh"#include "../generic/py_capi_utils.hh"#include "WM_api.hh"#include <cstdlib>Go to the source code of this file.
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
Functions | |
| static PyObject * | blender::bpy_atexit (PyObject *, PyObject *, PyObject *) |
| static void | blender::atexit_func_call (const char *func_name, PyObject *atexit_func_arg) |
| void | blender::BPY_atexit_register () |
| void | blender::BPY_atexit_unregister () |
Variables | |
| static PyMethodDef | blender::meth_bpy_atexit |
| static PyObject * | blender::func_bpy_atregister = nullptr |
This file inserts an exit callback into Python's 'atexit' module. Without this sys.exit() can crash because blender is not properly closing resources.
Definition in file bpy_interface_atexit.cc.