mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
checker: require unsafe for Struct(voidptr) casts
This commit is contained in:
parent
0146509516
commit
868908b80d
25 changed files with 64 additions and 83 deletions
|
@ -285,7 +285,6 @@ pub fn (ctx &Context) draw_image_with_config(config DrawImageConfig) {
|
|||
y := config.img_rect.y
|
||||
C.darwin_draw_image(x, ctx.height - (y + config.img_rect.height), config.img_rect.width,
|
||||
config.img_rect.height, img)
|
||||
println('ok')
|
||||
return
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue