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.
This commit is contained in:
Maxime Curioni
2008-07-28 22:53:42 +00:00
parent 362e4f763f
commit e4677c409d
37 changed files with 2302 additions and 157 deletions

View File

@@ -0,0 +1,29 @@
#ifndef FREESTYLE_PYTHON_FALSEBP1D_H
#define FREESTYLE_PYTHON_FALSEBP1D_H
#include "../BPy_BinaryPredicate1D.h"
#ifdef __cplusplus
extern "C" {
#endif
///////////////////////////////////////////////////////////////////////////////////////////
#include <Python.h>
extern PyTypeObject FalseBP1D_Type;
#define BPy_FalseBP1D_Check(v) (( (PyObject *) v)->ob_type == &FalseBP1D_Type)
/*---------------------------Python BPy_FalseBP1D structure definition----------*/
typedef struct {
BPy_BinaryPredicate1D py_bp1D;
} BPy_FalseBP1D;
///////////////////////////////////////////////////////////////////////////////////////////
#ifdef __cplusplus
}
#endif
#endif /* FREESTYLE_PYTHON_FALSEBP1D_H */