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