blob: 7dca6005a7ed6ab5442a64401d87c446c69f3405 [file] [log] [blame]
import "package:ffi/ffi.dart";
import 'dart:ffi';
final class Coordinate extends Struct {
external Pointer<Coordinate> next;
@Double()
external double x;
@Double()
external double y;
factory Coordinate.allocate(
Allocator allocator, double x, double y, Pointer<Coordinate> next) {}
}
main() {}