Files
test/source/blender/python/intern/bpy.hh
Nick Alberelli e2872c0bfe Core: de-duplicate bpy.context and context logging
Merges the existing `bpy.context` logging with the new `context` logging
added in [0]. In most cases `bpy.context` & `context` log the same thing.
Where the new `context` logging produces more accurate results.

Ref !146407

[0]: 439fe8a1a0
2025-10-07 23:45:16 +11:00

27 lines
516 B
C++

/* SPDX-FileCopyrightText: 2023 Blender Authors
*
* SPDX-License-Identifier: GPL-2.0-or-later */
/** \file
* \ingroup pythonintern
*/
#pragma once
#include <Python.h>
struct bContext;
/** Creates the `bpy` module and adds it to `sys.modules` for importing. */
void BPy_init_modules(bContext *C);
extern PyObject *bpy_package_py;
/* `bpy_interface_atexit.cc` */
void BPY_atexit_register();
void BPY_atexit_unregister();
extern struct CLG_LogRef *BPY_LOG_RNA;
extern struct CLG_LogRef *BPY_LOG_INTERFACE;