getShapes method

(Shape, Shape) getShapes()

Implementation

(Shape a, Shape b) getShapes() {
  Pointer<Pointer<cpShape>> aShape = calloc();
  Pointer<Pointer<cpShape>> bShape = calloc();
  bindings.cpArbiterGetShapes(_arbiterResource, aShape, bShape);
  var res = (Shape._createDartShape(aShape.value), Shape._createDartShape(bShape.value));
  calloc.free(aShape);
  calloc.free(bShape);
  return res;
}