This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_ContourUP1D.h
Maxime Curioni e4677c409d soc-2008-mxcurioni: add all predicate subclasses( BinaryPredicate1D, UnaryPredicate{0D,1D} ).
There is just one more class remaining to port (and probably the most important): Operators. After that, I'll be able to test whether Freestyle functions well without SWIG.
2008-07-28 22:53:42 +00:00

30 lines
713 B
C++

#ifndef FREESTYLE_PYTHON_CONTOURUP1D_H
#define FREESTYLE_PYTHON_CONTOURUP1D_H
#include "../BPy_UnaryPredicate1D.h"
#ifdef __cplusplus
extern "C" {
#endif
///////////////////////////////////////////////////////////////////////////////////////////
#include <Python.h>
extern PyTypeObject ContourUP1D_Type;
#define BPy_ContourUP1D_Check(v) (( (PyObject *) v)->ob_type == &ContourUP1D_Type)
/*---------------------------Python BPy_ContourUP1D structure definition----------*/
typedef struct {
BPy_UnaryPredicate1D py_up1D;
} BPy_ContourUP1D;
///////////////////////////////////////////////////////////////////////////////////////////
#ifdef __cplusplus
}
#endif
#endif /* FREESTYLE_PYTHON_CONTOURUP1D_H */