theRNG function

Rng theRNG()

TheRNG Returns the default random number generator.

For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#ga75843061d150ad6564b5447e38e57722 Disabled: double free

Implementation

Rng theRNG() {
  final p = calloc<cvg.RNG>();
  cvRun(() => cffi.TheRNG(p));
  return Rng.fromTheRng(p);
}