void scalarCompleter(Completer<Scalar> completer, VoidPtr p) { completer.complete(Scalar.fromPointer(p.cast<cvg.Scalar>())); }