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:
@@ -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 */
|
||||
Reference in New Issue
Block a user