diff trunk/chipmunkd/constraints/cpGearJoint.d @ 28:4541ca17975b

use __gshared as chipmunk heavily relies on globals and D would otherwise make them TLS
author Extrawurst
date Mon, 13 Dec 2010 21:40:56 +0100
parents c03a41d47b60
children
line wrap: on
line diff
--- a/trunk/chipmunkd/constraints/cpGearJoint.d	Mon Dec 13 21:24:12 2010 +0100
+++ b/trunk/chipmunkd/constraints/cpGearJoint.d	Mon Dec 13 21:40:56 2010 +0100
@@ -75,7 +75,7 @@
 	return cpfabs(joint.jAcc);
 }
 
-static /+const+/ cpConstraintClass klass = {
+__gshared /+const+/ cpConstraintClass klass = {
 	cast(cpConstraintPreStepFunction)&preStep,
 	cast(cpConstraintApplyImpulseFunction)&applyImpulse,
 	cast(cpConstraintGetImpulseFunction)&getImpulse,