Paul Idstein
05/10/2019, 8:29 AMexpect class Image
actual typealias Image = platform.CoreVideo.CVPixelBufferRef // iOS - 'declaration is incompatible because number of type parameters is different'
Dominaezzz
05/10/2019, 8:58 AMDominaezzz
05/10/2019, 8:59 AMexpect
.Paul Idstein
05/10/2019, 9:20 AMactual typealias Image = Bitmap
Sam
05/10/2019, 11:34 AMPaul Idstein
05/10/2019, 11:54 AMrusshwolf
05/10/2019, 12:34 PMCPointer<T>
has a generic argument and your expect
declaration and other `actual`s don’t. An actual typealias
is extremely strict about how closely it must match the expect
. It’s often more flexible to use a wrapper class instead.