intCompleter function

void intCompleter(
  1. Completer<int> completer,
  2. VoidPtr p
)

Implementation

void intCompleter(Completer<int> completer, VoidPtr p) {
  final value = p.cast<ffi.Int>().value;
  calloc.free(p);
  completer.complete(value);
}