update to build with python 3.0.1 which removed Py_InitModule3, added richcompare functions to the operator api.
This commit is contained in:
@@ -35,6 +35,9 @@
|
||||
extern PyTypeObject pyop_base_Type;
|
||||
extern PyTypeObject pyop_func_Type;
|
||||
|
||||
#define BPy_OperatorFunc_Check(v) (PyObject_TypeCheck(v, &pyop_func_Type))
|
||||
#define BPy_PropertyRNA_Check(v) (PyObject_TypeCheck(v, &pyop_func_Type))
|
||||
|
||||
typedef struct {
|
||||
PyObject_HEAD /* required python macro */
|
||||
bContext *C;
|
||||
|
Reference in New Issue
Block a user