Mercurial > projects > chipmunkd
comparison trunk/chipmunkd/cpPolyShape.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 | 4ceef5833c8c |
children |
comparison
equal
deleted
inserted
replaced
27:b45f0b140d85 | 28:4541ca17975b |
---|---|
193 info.n = n; | 193 info.n = n; |
194 } | 194 } |
195 } | 195 } |
196 } | 196 } |
197 | 197 |
198 static /+const+/ cpShapeClass polyClass = { | 198 __gshared /+const+/ cpShapeClass polyClass = { |
199 cpShapeType.CP_POLY_SHAPE, | 199 cpShapeType.CP_POLY_SHAPE, |
200 &cpPolyShapeCacheData, | 200 &cpPolyShapeCacheData, |
201 &cpPolyShapeDestroy, | 201 &cpPolyShapeDestroy, |
202 &cpPolyShapePointQuery, | 202 &cpPolyShapePointQuery, |
203 &cpPolyShapeSegmentQuery, | 203 &cpPolyShapeSegmentQuery, |