2008-07-29 05:45:16 +00:00
|
|
|
#ifndef FREESTYLE_PYTHON_OPERATORS_H
|
|
|
|
|
#define FREESTYLE_PYTHON_OPERATORS_H
|
|
|
|
|
|
2010-04-07 23:28:29 +00:00
|
|
|
#include <Python.h>
|
|
|
|
|
|
2008-07-29 05:45:16 +00:00
|
|
|
#include "../stroke/Operators.h"
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
extern PyTypeObject Operators_Type;
|
|
|
|
|
|
|
|
|
|
#define BPy_Operators_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &Operators_Type) )
|
|
|
|
|
|
|
|
|
|
/*---------------------------Python BPy_Operators structure definition----------*/
|
|
|
|
|
typedef struct {
|
|
|
|
|
PyObject_HEAD
|
|
|
|
|
} BPy_Operators;
|
|
|
|
|
|
|
|
|
|
/*---------------------------Python BPy_Operators visible prototypes-----------*/
|
|
|
|
|
|
2009-09-27 00:32:20 +00:00
|
|
|
int Operators_Init( PyObject *module );
|
2008-07-29 05:45:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif /* FREESTYLE_PYTHON_OPERATORS_H */
|