Python: move remaining python files to C++
Also see #103343. Pull Request: https://projects.blender.org/blender/blender/pulls/110352
This commit is contained in:
@@ -10,6 +10,10 @@
|
||||
|
||||
#include "BLI_compiler_attrs.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern PyTypeObject BPyGPUTexture_Type;
|
||||
|
||||
#define BPyGPUTexture_Check(v) (Py_TYPE(v) == &BPyGPUTexture_Type)
|
||||
@@ -24,3 +28,7 @@ PyObject *bpygpu_texture_init(void);
|
||||
|
||||
PyObject *BPyGPUTexture_CreatePyObject(struct GPUTexture *tex, bool shared_reference)
|
||||
ATTR_NONNULL(1);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user