Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
516 B
C++
Raw Permalink Normal View History

/* SPDX-FileCopyrightText: 2023 Blender Authors
*
* SPDX-License-Identifier: GPL-2.0-or-later */
2011-02-27 20:10:08 +00:00
/** \file
* \ingroup pythonintern
2011-02-27 20:10:08 +00:00
*/
#pragma once
#include <Python.h>
struct bContext;
2022-09-21 11:57:20 +10:00
/** 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;