postShapeFree function

void postShapeFree(
  1. Pointer<cpShape> shape,
  2. Pointer<Void> space,
  3. int unused
)

Implementation

void postShapeFree(Pointer<cpShape> shape, Pointer<Void> space, int unused) {
  bindings.cpSpaceAddPostStepCallback(space as Pointer<cpSpace>, Pointer.fromFunction(shapeFreeWrap), shape.cast<Void>(), nullptr, 0);
}