Files
test/source/blender/freestyle/intern/python/BPy_UnaryFunction1D.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
868 B
C
Raw Normal View History

/* SPDX-FileCopyrightText: 2023 Blender Authors
*
* SPDX-License-Identifier: GPL-2.0-or-later */
2013-02-23 18:32:28 +00:00
/** \file
* \ingroup freestyle
2013-02-23 18:32:28 +00:00
*/
2013-02-23 18:50:33 +00:00
#pragma once
extern "C" {
#include <Python.h>
}
#include "../view_map/Functions1D.h"
///////////////////////////////////////////////////////////////////////////////////////////
extern PyTypeObject UnaryFunction1D_Type;
2013-02-23 18:50:33 +00:00
#define BPy_UnaryFunction1D_Check(v) \
(PyObject_IsInstance((PyObject *)v, (PyObject *)&UnaryFunction1D_Type))
/*---------------------------Python BPy_UnaryFunction1D structure definition----------*/
typedef struct {
PyObject_HEAD
PyObject *py_uf1D;
} BPy_UnaryFunction1D;
/*---------------------------Python BPy_UnaryFunction1D visible prototypes-----------*/
2013-02-23 18:50:33 +00:00
int UnaryFunction1D_Init(PyObject *module);
///////////////////////////////////////////////////////////////////////////////////////////