Blender  V3.3
BPy_Nature.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
7 #pragma once
8 
9 extern "C" {
10 #include <Python.h>
11 }
12 
13 #include "../winged_edge/Nature.h"
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
20 
21 extern PyTypeObject Nature_Type;
22 
23 #define BPy_Nature_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&Nature_Type))
24 
25 /*---------------------------Python BPy_Nature structure definition----------*/
26 typedef struct {
27  PyLongObject i;
28 } BPy_Nature;
29 
30 /*---------------------------Python BPy_Nature visible prototypes-----------*/
31 
32 int Nature_Init(PyObject *module);
33 
35 
36 #ifdef __cplusplus
37 }
38 #endif
int Nature_Init(PyObject *module)
Definition: BPy_Nature.cpp:175
PyTypeObject Nature_Type
Definition: BPy_Nature.cpp:93
static struct PyModuleDef module
Definition: python.cpp:972
PyLongObject i
Definition: BPy_Nature.h:27