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

@ -1,6 +1,6 @@
module picohttpparser
[inline] [unsafe_fn]
[inline] [unsafe]
fn cpy(dst, src byteptr, len int) int {
unsafe { C.memcpy(dst, src, len) }
return len