ci: fix vlib/v/tests/project_with_c_code_2/modc/wrapper.v
							parent
							
								
									23bfbf1665
								
							
						
					
					
						commit
						5f5c53348b
					
				| 
						 | 
					@ -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) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue