Blender V5.0
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
8
9#pragma once
10
11extern "C" {
12#include <Python.h>
13}
14
16
18
19extern PyTypeObject Nature_Type;
20
21#define BPy_Nature_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&Nature_Type))
22
23/*---------------------------Python BPy_Nature structure definition----------*/
24typedef struct {
25 PyLongObject i;
27
28/*---------------------------Python BPy_Nature visible prototypes-----------*/
29
30int Nature_Init(PyObject *module);
31
PyTypeObject Nature_Type
int Nature_Init(PyObject *module)
Different natures for both vertices and edges.
static struct PyModuleDef module
Definition python.cpp:796
PyLongObject i
Definition BPy_Nature.h:25