mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: wrap up unsafe { nil } (p. 3)
This commit is contained in:
@@ -20,7 +20,7 @@ mut:
|
||||
struct EventHandler {
|
||||
name string
|
||||
handler EventHandlerFn
|
||||
receiver voidptr = voidptr(0)
|
||||
receiver voidptr = unsafe { nil }
|
||||
once bool
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user