Blender V5.0
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
8
9#pragma once
10
11extern "C" {
12#include <Python.h>
13}
14
16
18
19extern PyTypeObject Interface0D_Type;
20
21#define BPy_Interface0D_Check(v) \
22 (PyObject_IsInstance((PyObject *)v, (PyObject *)&Interface0D_Type))
23
24/*---------------------------Python BPy_Interface0D structure definition----------*/
25typedef struct {
26 PyObject_HEAD
28 bool borrowed; /* true if *if0D is a borrowed object */
30
31/*---------------------------Python BPy_Interface0D visible prototypes-----------*/
32
33int Interface0D_Init(PyObject *module);
34
PyTypeObject Interface0D_Type
int Interface0D_Init(PyObject *module)
Interface to 0D elements.
static struct PyModuleDef module
Definition python.cpp:796
PyObject_HEAD Freestyle::Interface0D * if0D