The only remaining code in source/blender that must be compiled as C is now datatoc generated code and the DNA defaults that use designated initializers. Pull Request: https://projects.blender.org/blender/blender/pulls/134469
32 lines
1011 B
C
32 lines
1011 B
C
/* SPDX-FileCopyrightText: 2023 Blender Authors
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
/** \file
|
|
* \ingroup freestyle
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "../BPy_UnaryFunction1D.h"
|
|
|
|
#include "../../winged_edge/Nature.h"
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
extern PyTypeObject UnaryFunction1DEdgeNature_Type;
|
|
|
|
#define BPy_UnaryFunction1DEdgeNature_Check(v) \
|
|
(PyObject_IsInstance((PyObject *)v, (PyObject *)&UnaryFunction1DEdgeNature_Type))
|
|
|
|
/*---------------------------Python BPy_UnaryFunction1DEdgeNature structure definition----------*/
|
|
typedef struct {
|
|
BPy_UnaryFunction1D py_uf1D;
|
|
Freestyle::UnaryFunction1D<Freestyle::Nature::EdgeNature> *uf1D_edgenature;
|
|
} BPy_UnaryFunction1DEdgeNature;
|
|
|
|
/*---------------------------Python BPy_UnaryFunction1DEdgeNature visible prototypes-----------*/
|
|
int UnaryFunction1DEdgeNature_Init(PyObject *module);
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////
|