Commits

Anonymous committed d8f6b5e

Make cross compiling happy for subclassed joints.

  • Participants
  • Parent commits 83d1bba
  • Branches physics

Comments (0)

Files changed (2)

File src/pgJointObject.c

 	0,							/* tp_methods */
 	_pgDistanceJoint_members,	/* tp_members */
 	0,							/* tp_getset */
-	&pgJointType,               /* tp_base */
+	0,               /* tp_base */
 	0,                          /* tp_dict */
 	0,                          /* tp_descr_get */
 	0,                          /* tp_descr_set */

File src/pgModuleInit.c

 		return;
 	if (PyType_Ready(&pgJointType) < 0)
 		return;
+        pgDistanceJointType.tp_base = &pgJointType;
 	if (PyType_Ready(&pgDistanceJointType) < 0)
 		return;