Add Chromium-only Blender WebEngine parity work
This commit is contained in:
32
blender-5.2.0/source/blender/python/intern/bpy.hh
Normal file
32
blender-5.2.0/source/blender/python/intern/bpy.hh
Normal file
@@ -0,0 +1,32 @@
|
||||
/* SPDX-FileCopyrightText: 2023 Blender Authors
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
/** \file
|
||||
* \ingroup pythonintern
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <Python.h>
|
||||
|
||||
struct CLG_LogRef;
|
||||
|
||||
namespace blender {
|
||||
|
||||
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 CLG_LogRef *BPY_LOG_RNA;
|
||||
extern CLG_LogRef *BPY_LOG_INTERFACE;
|
||||
|
||||
} // namespace blender
|
||||
Reference in New Issue
Block a user