Blender V5.0
BPy_UnaryFunction1D.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 UnaryFunction1D_Type;
20
21#define BPy_UnaryFunction1D_Check(v) \
22 (PyObject_IsInstance((PyObject *)v, (PyObject *)&UnaryFunction1D_Type))
23
24/*---------------------------Python BPy_UnaryFunction1D structure definition----------*/
25typedef struct {
26 PyObject_HEAD
27 PyObject *py_uf1D;
29
30/*---------------------------Python BPy_UnaryFunction1D visible prototypes-----------*/
31
32int UnaryFunction1D_Init(PyObject *module);
33
PyTypeObject UnaryFunction1D_Type
int UnaryFunction1D_Init(PyObject *module)
Functions taking 1D input.
static struct PyModuleDef module
Definition python.cpp:796
PyObject_HEAD PyObject * py_uf1D