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