Following Willian's proposal,deleted the print function, which caused crashes.

The objects are now printed with the repr function.
This commit is contained in:
2003-07-04 16:06:39 +00:00
parent 28b8e667a0
commit 82e1783dcb
11 changed files with 28 additions and 25 deletions

View File

@@ -107,7 +107,7 @@ PyObject *Particle_setDefvec(BPy_Particle *self,PyObject*a);
/* Python Particle_Type callback function prototypes: */
/*****************************************************************************/
void ParticleDeAlloc (BPy_Particle *msh);
int ParticlePrint (BPy_Particle *msh, FILE *fp, int flags);
//int ParticlePrint (BPy_Particle *msh, FILE *fp, int flags);
int ParticleSetAttr (BPy_Particle *msh, char *name, PyObject *v);
PyObject *ParticleGetAttr (BPy_Particle *msh, char *name);
PyObject *ParticleRepr (BPy_Particle *msh);