1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

parser: error on [unsafe_fn] (#6090)

This commit is contained in:
Nick Treleaven
2020-08-09 10:22:11 +01:00
committed by GitHub
parent 200f8dacb7
commit 2dd90de993
12 changed files with 30 additions and 28 deletions

View File

@@ -1147,7 +1147,7 @@ pub fn walk(path string, f fn(path string)) {
return
}
[unsafe_fn]
[unsafe]
pub fn signal(signum int, handler voidptr) {
unsafe {
C.signal(signum, handler)