Blender V4.3
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
9#pragma once
10
11extern "C" {
12#include <Python.h>
13}
14
15#include "../view_map/ViewMap.h"
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
22
23extern PyTypeObject ViewMap_Type;
24
25#define BPy_ViewMap_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&ViewMap_Type))
26
27/*---------------------------Python BPy_ViewMap structure definition----------*/
28typedef struct {
29 PyObject_HEAD
32
33/*---------------------------Python BPy_ViewMap visible prototypes-----------*/
34
35int ViewMap_Init(PyObject *module);
36
38
39#ifdef __cplusplus
40}
41#endif
int ViewMap_Init(PyObject *module)
PyTypeObject ViewMap_Type
Classes to define a View Map (ViewVertex, ViewEdge, etc.)
static struct PyModuleDef module
Definition python.cpp:991
PyObject_HEAD Freestyle::ViewMap * vm
Definition BPy_ViewMap.h:30