refactor: Screencap and CacheImage function of SyncContext return ima… #35
Annotations
8 errors and 2 warnings
run_without_file_test.go#L15
image.Destroy undefined (type image.Image has no field or method Destroy)
|
run_without_file_test.go#L16
invalid operation: operator ! not defined on ok (variable of type error)
|
run_without_file_test.go#L32
cannot use ctx.RunRecognition(image, "MyColorMatching", string(taskParamStr)) (value of type bool) as error value in assignment: bool does not implement error (missing method Error)
|
run_without_file_test.go#L32
cannot use image (variable of type image.Image) as ImageBuffer value in argument to ctx.RunRecognition: image.Image does not implement ImageBuffer (missing method Clear)
|
run_without_file_test.go#L33
invalid operation: operator ! not defined on ok (variable of type error)
|
custom_sync_context.go#L108
cannot use (_Cgo_ptr(_Cfpvar_fp_MaaSyncContextScreencap)) (value of type unsafe.Pointer) as func(_Ctype_MaaSyncContextHandle, _Ctype_MaaImageBufferHandle) _Ctype_int value in argument to ctx.getImage
|
custom_sync_context.go#L112
cannot use (_Cgo_ptr(_Cfpvar_fp_MaaSyncContextCachedImage)) (value of type unsafe.Pointer) as func(_Ctype_MaaSyncContextHandle, _Ctype_MaaImageBufferHandle) _Ctype_int value in argument to ctx.getImage
|
|
|
|
The logs for this run have expired and are no longer available.
Loading