From: Matthias B. <mb...@us...> - 2005-06-06 13:09:44
|
Update of /cvsroot/pyode/pyode/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31690/src Modified Files: body.pyx Log Message: Forbid empty bodies Index: body.pyx =================================================================== RCS file: /cvsroot/pyode/pyode/src/body.pyx,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** body.pyx 15 Nov 2004 20:16:02 -0000 1.5 --- body.pyx 6 Jun 2005 13:09:30 -0000 1.6 *************** *** 44,53 **** cdef object userattribs ! def __new__(self, World world): ! self.bid = NULL ! if world!=None: ! self.bid = dBodyCreate(world.wid) ! def __init__(self, World world): """Constructor. --- 44,51 ---- cdef object userattribs ! def __new__(self, World world not None): ! self.bid = dBodyCreate(world.wid) ! def __init__(self, World world not None): """Constructor. |