Blender V4.3
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
11extern "C" {
12#include <Python.h>
13}
14
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
22
23extern PyTypeObject Nature_Type;
24
25#define BPy_Nature_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&Nature_Type))
26
27/*---------------------------Python BPy_Nature structure definition----------*/
28typedef struct {
29 PyLongObject i;
31
32/*---------------------------Python BPy_Nature visible prototypes-----------*/
33
34int Nature_Init(PyObject *module);
35
37
38#ifdef __cplusplus
39}
40#endif
int Nature_Init(PyObject *module)
PyTypeObject Nature_Type
Different natures for both vertices and edges.
static struct PyModuleDef module
Definition python.cpp:991
PyLongObject i
Definition BPy_Nature.h:29