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

ci: fix vlib/v/tests/project_with_c_code_2/modc/wrapper.v

This commit is contained in:
Delyan Angelov 2020-12-20 18:33:25 +02:00
parent 23bfbf1665
commit 5f5c53348b

View File

@ -42,10 +42,9 @@ pub fn call_with_array_param(arr []Vtype) {
for t in arr {
carr << *t.p
}
// make it safe
a := carr
C.handle_array(a.data, a.len)
C.handle_array2(a.data, a.len)
// TODO: make it safe
C.handle_array(carr.data, carr.len)
C.handle_array2(carr.data, carr.len)
}
pub fn destroy_vtype(t Vtype) {