Fixed typoes in error messages.
This commit is contained in:
@@ -154,7 +154,7 @@ int ChainingIterator___init__(BPy_ChainingIterator *self, PyObject *args )
|
|||||||
|
|
||||||
PyObject *ChainingIterator_init( BPy_ChainingIterator *self ) {
|
PyObject *ChainingIterator_init( BPy_ChainingIterator *self ) {
|
||||||
if( typeid(*(self->c_it)) == typeid(ChainingIterator) ) {
|
if( typeid(*(self->c_it)) == typeid(ChainingIterator) ) {
|
||||||
PyErr_SetString(PyExc_TypeError, "init() method must be overloaded");
|
PyErr_SetString(PyExc_TypeError, "init() method not properly overridden");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
self->c_it->init();
|
self->c_it->init();
|
||||||
@@ -169,7 +169,7 @@ PyObject *ChainingIterator_traverse( BPy_ChainingIterator *self, PyObject *args
|
|||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if( typeid(*(self->c_it)) == typeid(ChainingIterator) ) {
|
if( typeid(*(self->c_it)) == typeid(ChainingIterator) ) {
|
||||||
PyErr_SetString(PyExc_TypeError, "traverse() method must be overloaded");
|
PyErr_SetString(PyExc_TypeError, "traverse() method not properly overridden");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
if( ((BPy_AdjacencyIterator *) py_a_it)->a_it )
|
if( ((BPy_AdjacencyIterator *) py_a_it)->a_it )
|
||||||
|
|||||||
@@ -225,7 +225,7 @@ PyObject * UnaryFunction0DDouble___call__( BPy_UnaryFunction0DDouble *self, PyOb
|
|||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if( typeid(*(self->uf0D_double)) == typeid(UnaryFunction0D<double>) ) {
|
if( typeid(*(self->uf0D_double)) == typeid(UnaryFunction0D<double>) ) {
|
||||||
PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded");
|
PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
if (self->uf0D_double->operator()(*( ((BPy_Interface0DIterator *) obj)->if0D_it)) < 0) {
|
if (self->uf0D_double->operator()(*( ((BPy_Interface0DIterator *) obj)->if0D_it)) < 0) {
|
||||||
|
|||||||
@@ -168,7 +168,7 @@ PyObject * UnaryFunction0DEdgeNature___call__( BPy_UnaryFunction0DEdgeNature *se
|
|||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if( typeid(*(self->uf0D_edgenature)) == typeid(UnaryFunction0D<Nature::EdgeNature>) ) {
|
if( typeid(*(self->uf0D_edgenature)) == typeid(UnaryFunction0D<Nature::EdgeNature>) ) {
|
||||||
PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded");
|
PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
if (self->uf0D_edgenature->operator()(*( ((BPy_Interface0DIterator *) obj)->if0D_it )) < 0) {
|
if (self->uf0D_edgenature->operator()(*( ((BPy_Interface0DIterator *) obj)->if0D_it )) < 0) {
|
||||||
|
|||||||
@@ -197,7 +197,7 @@ PyObject * UnaryFunction0DFloat___call__( BPy_UnaryFunction0DFloat *self, PyObje
|
|||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if( typeid(*(self->uf0D_float)) == typeid(UnaryFunction0D<float>) ) {
|
if( typeid(*(self->uf0D_float)) == typeid(UnaryFunction0D<float>) ) {
|
||||||
PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded");
|
PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
if (self->uf0D_float->operator()(*( ((BPy_Interface0DIterator *) obj)->if0D_it )) < 0) {
|
if (self->uf0D_float->operator()(*( ((BPy_Interface0DIterator *) obj)->if0D_it )) < 0) {
|
||||||
|
|||||||
@@ -168,7 +168,7 @@ PyObject * UnaryFunction0DId___call__( BPy_UnaryFunction0DId *self, PyObject *ar
|
|||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if( typeid(*(self->uf0D_id)) == typeid(UnaryFunction0D<Id>) ) {
|
if( typeid(*(self->uf0D_id)) == typeid(UnaryFunction0D<Id>) ) {
|
||||||
PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded");
|
PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
if (self->uf0D_id->operator()(*( ((BPy_Interface0DIterator *) obj)->if0D_it )) < 0) {
|
if (self->uf0D_id->operator()(*( ((BPy_Interface0DIterator *) obj)->if0D_it )) < 0) {
|
||||||
|
|||||||
@@ -168,7 +168,7 @@ PyObject * UnaryFunction0DMaterial___call__( BPy_UnaryFunction0DMaterial *self,
|
|||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if( typeid(*(self->uf0D_material)) == typeid(UnaryFunction0D<FrsMaterial>) ) {
|
if( typeid(*(self->uf0D_material)) == typeid(UnaryFunction0D<FrsMaterial>) ) {
|
||||||
PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded");
|
PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
if (self->uf0D_material->operator()(*( ((BPy_Interface0DIterator *) obj)->if0D_it )) < 0) {
|
if (self->uf0D_material->operator()(*( ((BPy_Interface0DIterator *) obj)->if0D_it )) < 0) {
|
||||||
|
|||||||
@@ -168,7 +168,7 @@ PyObject * UnaryFunction0DUnsigned___call__( BPy_UnaryFunction0DUnsigned *self,
|
|||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if( typeid(*(self->uf0D_unsigned)) == typeid(UnaryFunction0D<unsigned int>) ) {
|
if( typeid(*(self->uf0D_unsigned)) == typeid(UnaryFunction0D<unsigned int>) ) {
|
||||||
PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded");
|
PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
if (self->uf0D_unsigned->operator()(*( ((BPy_Interface0DIterator *) obj)->if0D_it )) < 0) {
|
if (self->uf0D_unsigned->operator()(*( ((BPy_Interface0DIterator *) obj)->if0D_it )) < 0) {
|
||||||
|
|||||||
@@ -174,7 +174,7 @@ PyObject * UnaryFunction0DVec2f___call__( BPy_UnaryFunction0DVec2f *self, PyObje
|
|||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if( typeid(*(self->uf0D_vec2f)) == typeid(UnaryFunction0D<Vec2f>) ) {
|
if( typeid(*(self->uf0D_vec2f)) == typeid(UnaryFunction0D<Vec2f>) ) {
|
||||||
PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded");
|
PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
if (self->uf0D_vec2f->operator()(*( ((BPy_Interface0DIterator *) obj)->if0D_it )) < 0) {
|
if (self->uf0D_vec2f->operator()(*( ((BPy_Interface0DIterator *) obj)->if0D_it )) < 0) {
|
||||||
|
|||||||
@@ -168,7 +168,7 @@ PyObject * UnaryFunction0DVec3f___call__( BPy_UnaryFunction0DVec3f *self, PyObje
|
|||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if( typeid(*(self->uf0D_vec3f)) == typeid(UnaryFunction0D<Vec3f>) ) {
|
if( typeid(*(self->uf0D_vec3f)) == typeid(UnaryFunction0D<Vec3f>) ) {
|
||||||
PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded");
|
PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
if (self->uf0D_vec3f->operator()(*( ((BPy_Interface0DIterator *) obj)->if0D_it )) < 0) {
|
if (self->uf0D_vec3f->operator()(*( ((BPy_Interface0DIterator *) obj)->if0D_it )) < 0) {
|
||||||
|
|||||||
@@ -168,7 +168,7 @@ PyObject * UnaryFunction0DVectorViewShape___call__( BPy_UnaryFunction0DVectorVie
|
|||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if( typeid(*(self->uf0D_vectorviewshape)) == typeid(UnaryFunction0D< std::vector<ViewShape*> >) ) {
|
if( typeid(*(self->uf0D_vectorviewshape)) == typeid(UnaryFunction0D< std::vector<ViewShape*> >) ) {
|
||||||
PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded");
|
PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
if (self->uf0D_vectorviewshape->operator()(*( ((BPy_Interface0DIterator *) obj)->if0D_it )) < 0) {
|
if (self->uf0D_vectorviewshape->operator()(*( ((BPy_Interface0DIterator *) obj)->if0D_it )) < 0) {
|
||||||
|
|||||||
@@ -174,7 +174,7 @@ PyObject * UnaryFunction0DViewShape___call__( BPy_UnaryFunction0DViewShape *self
|
|||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if( typeid(*(self->uf0D_viewshape)) == typeid(UnaryFunction0D<ViewShape*>) ) {
|
if( typeid(*(self->uf0D_viewshape)) == typeid(UnaryFunction0D<ViewShape*>) ) {
|
||||||
PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded");
|
PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
if (self->uf0D_viewshape->operator()(*( ((BPy_Interface0DIterator *) obj)->if0D_it )) < 0) {
|
if (self->uf0D_viewshape->operator()(*( ((BPy_Interface0DIterator *) obj)->if0D_it )) < 0) {
|
||||||
|
|||||||
@@ -265,7 +265,7 @@ PyObject * UnaryFunction1DDouble___call__( BPy_UnaryFunction1DDouble *self, PyOb
|
|||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if( typeid(*(self->uf1D_double)) == typeid(UnaryFunction1D<double>) ) {
|
if( typeid(*(self->uf1D_double)) == typeid(UnaryFunction1D<double>) ) {
|
||||||
PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded");
|
PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
if (self->uf1D_double->operator()(*( ((BPy_Interface1D *) obj)->if1D )) < 0) {
|
if (self->uf1D_double->operator()(*( ((BPy_Interface1D *) obj)->if1D )) < 0) {
|
||||||
|
|||||||
@@ -185,7 +185,7 @@ PyObject * UnaryFunction1DEdgeNature___call__( BPy_UnaryFunction1DEdgeNature *se
|
|||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if( typeid(*(self->uf1D_edgenature)) == typeid(UnaryFunction1D<Nature::EdgeNature>) ) {
|
if( typeid(*(self->uf1D_edgenature)) == typeid(UnaryFunction1D<Nature::EdgeNature>) ) {
|
||||||
PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded");
|
PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
if (self->uf1D_edgenature->operator()(*( ((BPy_Interface1D *) obj)->if1D )) < 0) {
|
if (self->uf1D_edgenature->operator()(*( ((BPy_Interface1D *) obj)->if1D )) < 0) {
|
||||||
|
|||||||
@@ -178,7 +178,7 @@ PyObject * UnaryFunction1DFloat___call__( BPy_UnaryFunction1DFloat *self, PyObje
|
|||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if( typeid(*(self->uf1D_float)) == typeid(UnaryFunction1D<float>) ) {
|
if( typeid(*(self->uf1D_float)) == typeid(UnaryFunction1D<float>) ) {
|
||||||
PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded");
|
PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
if (self->uf1D_float->operator()(*( ((BPy_Interface1D *) obj)->if1D )) < 0) {
|
if (self->uf1D_float->operator()(*( ((BPy_Interface1D *) obj)->if1D )) < 0) {
|
||||||
|
|||||||
@@ -185,7 +185,7 @@ PyObject * UnaryFunction1DUnsigned___call__( BPy_UnaryFunction1DUnsigned *self,
|
|||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if( typeid(*(self->uf1D_unsigned)) == typeid(UnaryFunction1D<unsigned int>) ) {
|
if( typeid(*(self->uf1D_unsigned)) == typeid(UnaryFunction1D<unsigned int>) ) {
|
||||||
PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded");
|
PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
if (self->uf1D_unsigned->operator()(*( ((BPy_Interface1D *) obj)->if1D )) < 0) {
|
if (self->uf1D_unsigned->operator()(*( ((BPy_Interface1D *) obj)->if1D )) < 0) {
|
||||||
|
|||||||
@@ -191,7 +191,7 @@ PyObject * UnaryFunction1DVec2f___call__( BPy_UnaryFunction1DVec2f *self, PyObje
|
|||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if( typeid(*(self->uf1D_vec2f)) == typeid(UnaryFunction1D<Vec2f>) ) {
|
if( typeid(*(self->uf1D_vec2f)) == typeid(UnaryFunction1D<Vec2f>) ) {
|
||||||
PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded");
|
PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
if (self->uf1D_vec2f->operator()(*( ((BPy_Interface1D *) obj)->if1D )) < 0) {
|
if (self->uf1D_vec2f->operator()(*( ((BPy_Interface1D *) obj)->if1D )) < 0) {
|
||||||
|
|||||||
@@ -185,7 +185,7 @@ PyObject * UnaryFunction1DVec3f___call__( BPy_UnaryFunction1DVec3f *self, PyObje
|
|||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if( typeid(*(self->uf1D_vec3f)) == typeid(UnaryFunction1D<Vec3f>) ) {
|
if( typeid(*(self->uf1D_vec3f)) == typeid(UnaryFunction1D<Vec3f>) ) {
|
||||||
PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded");
|
PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
if (self->uf1D_vec3f->operator()(*( ((BPy_Interface1D *) obj)->if1D )) < 0) {
|
if (self->uf1D_vec3f->operator()(*( ((BPy_Interface1D *) obj)->if1D )) < 0) {
|
||||||
|
|||||||
@@ -199,7 +199,7 @@ PyObject * UnaryFunction1DVectorViewShape___call__( BPy_UnaryFunction1DVectorVie
|
|||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if( typeid(*(self->uf1D_vectorviewshape)) == typeid(UnaryFunction1D< std::vector<ViewShape*> >) ) {
|
if( typeid(*(self->uf1D_vectorviewshape)) == typeid(UnaryFunction1D< std::vector<ViewShape*> >) ) {
|
||||||
PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded");
|
PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
if (self->uf1D_vectorviewshape->operator()(*( ((BPy_Interface1D *) obj)->if1D )) < 0) {
|
if (self->uf1D_vectorviewshape->operator()(*( ((BPy_Interface1D *) obj)->if1D )) < 0) {
|
||||||
|
|||||||
@@ -200,7 +200,7 @@ PyObject * UnaryFunction1DVoid___call__( BPy_UnaryFunction1DVoid *self, PyObject
|
|||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if( typeid(*(self->uf1D_void)) == typeid(UnaryFunction1D_void) ) {
|
if( typeid(*(self->uf1D_void)) == typeid(UnaryFunction1D_void) ) {
|
||||||
PyErr_SetString(PyExc_TypeError, "__call__ method must be overloaded");
|
PyErr_SetString(PyExc_TypeError, "__call__ method not properly overridden");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
if (self->uf1D_void->operator()(*( ((BPy_Interface1D *) obj)->if1D )) < 0) {
|
if (self->uf1D_void->operator()(*( ((BPy_Interface1D *) obj)->if1D )) < 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user