Blender V5.0
BPy_Interface1D.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 Interface1D_Type;
20
21#define BPy_Interface1D_Check(v) \
22 (PyObject_IsInstance((PyObject *)v, (PyObject *)&Interface1D_Type))
23
24/*---------------------------Python BPy_Interface1D structure definition----------*/
25typedef struct {
26 PyObject_HEAD
28 bool borrowed; /* true if *if1D is a borrowed object */
30
31/*---------------------------Python BPy_Interface1D visible prototypes-----------*/
32
33int Interface1D_Init(PyObject *module);
34
PyTypeObject Interface1D_Type
int Interface1D_Init(PyObject *module)
Interface 1D and related tools definitions.
static struct PyModuleDef module
Definition python.cpp:796
PyObject_HEAD Freestyle::Interface1D * if1D