Blender
V4.3
source
blender
freestyle
intern
python
BPy_Nature.h
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2023 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
9
#pragma once
10
11
extern
"C"
{
12
#include <Python.h>
13
}
14
15
#include "
../winged_edge/Nature.h
"
16
17
#ifdef __cplusplus
18
extern
"C"
{
19
#endif
20
22
23
extern
PyTypeObject
Nature_Type
;
24
25
#define BPy_Nature_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&Nature_Type))
26
27
/*---------------------------Python BPy_Nature structure definition----------*/
28
typedef
struct
{
29
PyLongObject
i
;
30
}
BPy_Nature
;
31
32
/*---------------------------Python BPy_Nature visible prototypes-----------*/
33
34
int
Nature_Init
(PyObject *
module
);
35
37
38
#ifdef __cplusplus
39
}
40
#endif
Nature_Init
int Nature_Init(PyObject *module)
Definition
BPy_Nature.cpp:143
Nature_Type
PyTypeObject Nature_Type
Definition
BPy_Nature.cpp:99
Nature.h
Different natures for both vertices and edges.
module
static struct PyModuleDef module
Definition
python.cpp:991
BPy_Nature
Definition
BPy_Nature.h:28
BPy_Nature::i
PyLongObject i
Definition
BPy_Nature.h:29
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0