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:
@ -42,10 +42,9 @@ pub fn call_with_array_param(arr []Vtype) {
|
|||||||
for t in arr {
|
for t in arr {
|
||||||
carr << *t.p
|
carr << *t.p
|
||||||
}
|
}
|
||||||
// make it safe
|
// TODO: make it safe
|
||||||
a := carr
|
C.handle_array(carr.data, carr.len)
|
||||||
C.handle_array(a.data, a.len)
|
C.handle_array2(carr.data, carr.len)
|
||||||
C.handle_array2(a.data, a.len)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn destroy_vtype(t Vtype) {
|
pub fn destroy_vtype(t Vtype) {
|
||||||
|
Reference in New Issue
Block a user