Files
workinf_Blender_Wasm/blender-5.2.0/source/blender/python/intern/bpy.hh
mes123456 f3e21c6b98
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled
chore: checkpoint web Blender migration source, tools and docs
Accumulated uncommitted work: GHOST Web backend, WebGL/GPU web layer,
web workflow engine and protocol, tooling, docs and task records.
Large generated evidence, user-testing archives, build snapshots and
imported test assets remain untracked.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-10 11:18:01 +08:00

37 lines
673 B
C++

/* 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);
#ifdef WITH_WEB
int BPy_register_embedded_modules();
void BPy_init_embedded_modules(bContext *C);
#endif
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