Blender V5.0
BPy_ViewMap.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
15#include "../view_map/ViewMap.h"
16
18
19extern PyTypeObject ViewMap_Type;
20
21#define BPy_ViewMap_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&ViewMap_Type))
22
23/*---------------------------Python BPy_ViewMap structure definition----------*/
24typedef struct {
25 PyObject_HEAD
28
29/*---------------------------Python BPy_ViewMap visible prototypes-----------*/
30
31int ViewMap_Init(PyObject *module);
32
PyTypeObject ViewMap_Type
int ViewMap_Init(PyObject *module)
Classes to define a View Map (ViewVertex, ViewEdge, etc.).
static struct PyModuleDef module
Definition python.cpp:796
PyObject_HEAD Freestyle::ViewMap * vm
Definition BPy_ViewMap.h:26