Blender V4.3
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
9#pragma once
10
11extern "C" {
12#include <Python.h>
13}
14
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
22
23extern PyTypeObject Interface1D_Type;
24
25#define BPy_Interface1D_Check(v) \
26 (PyObject_IsInstance((PyObject *)v, (PyObject *)&Interface1D_Type))
27
28/*---------------------------Python BPy_Interface1D structure definition----------*/
29typedef struct {
30 PyObject_HEAD
32 bool borrowed; /* true if *if1D is a borrowed object */
34
35/*---------------------------Python BPy_Interface1D visible prototypes-----------*/
36
37int Interface1D_Init(PyObject *module);
38
40
41#ifdef __cplusplus
42}
43#endif
PyTypeObject Interface1D_Type
int Interface1D_Init(PyObject *module)
Interface 1D and related tools definitions.
static struct PyModuleDef module
Definition python.cpp:991
PyObject_HEAD Freestyle::Interface1D * if1D