boolCompleter function

void boolCompleter(
  1. Completer<bool> completer,
  2. VoidPtr p
)

Implementation

void boolCompleter(Completer<bool> completer, VoidPtr p) {
  final value = p.cast<ffi.Bool>().value;
  calloc.free(p);
  completer.complete(value);
}