Blender V4.3
BPy_Interface0D.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 Interface0D_Type;
24
25#define BPy_Interface0D_Check(v) \
26 (PyObject_IsInstance((PyObject *)v, (PyObject *)&Interface0D_Type))
27
28/*---------------------------Python BPy_Interface0D structure definition----------*/
29typedef struct {
30 PyObject_HEAD
32 bool borrowed; /* true if *if0D is a borrowed object */
34
35/*---------------------------Python BPy_Interface0D visible prototypes-----------*/
36
37int Interface0D_Init(PyObject *module);
38
40
41#ifdef __cplusplus
42}
43#endif
PyTypeObject Interface0D_Type
int Interface0D_Init(PyObject *module)
Interface to 0D elements.
static struct PyModuleDef module
Definition python.cpp:991
PyObject_HEAD Freestyle::Interface0D * if0D