postBodyFree function

void postBodyFree(
  1. Pointer<cpBody> body,
  2. Pointer<Void> space,
  3. int unused
)

Implementation

void postBodyFree(Pointer<cpBody> body, Pointer<Void> space, int unused) {
  bindings.cpSpaceAddPostStepCallback(space as Pointer<cpSpace>, Pointer.fromFunction(bodyFreeWrap), body.cast<Void>(), nullptr, 0);
}