This website requires JavaScript.
Explore
Help
Sign In
vieter-v
/
v
Watch
2
Star
0
Fork
You've already forked v
0
Code
Issues
Pull Requests
Releases
Activity
d24dce8eb3
v
/
vlib
/
v
/
checker
/
tests
/
unsafe_c_calls_should_be_ch...
7 lines
84 B
V
Raw
Blame
History
fn
test_c
(
)
{
mut
p
:=
C
.
malloc
(
4
)
s
:=
'
h
o
p
e
'
C
.
memcpy
(
p
,
s
.
str
,
4
)
}
Reference in New Issue
View Git Blame
Copy Permalink