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