@@ -126,7 +126,7 @@ fn check_type_rust_vec(cx: &mut Check, ty: &Ty1) {
126126 None | Some ( Bool ) | Some ( Char ) | Some ( U8 ) | Some ( U16 ) | Some ( U32 ) | Some ( U64 )
127127 | Some ( Usize ) | Some ( I8 ) | Some ( I16 ) | Some ( I32 ) | Some ( I64 ) | Some ( Isize )
128128 | Some ( F32 ) | Some ( F64 ) | Some ( RustString ) => return ,
129- Some ( CxxString ) => { }
129+ Some ( CxxString ) | Some ( Cvoid ) => { }
130130 }
131131 }
132132 Type :: Str ( _) => return ,
@@ -165,7 +165,7 @@ fn check_type_shared_ptr(cx: &mut Check, ptr: &Ty1) {
165165 None | Some ( Bool ) | Some ( U8 ) | Some ( U16 ) | Some ( U32 ) | Some ( U64 ) | Some ( Usize )
166166 | Some ( I8 ) | Some ( I16 ) | Some ( I32 ) | Some ( I64 ) | Some ( Isize ) | Some ( F32 )
167167 | Some ( F64 ) | Some ( CxxString ) => return ,
168- Some ( Char ) | Some ( RustString ) => { }
168+ Some ( Char ) | Some ( RustString ) | Some ( Cvoid ) => { }
169169 }
170170 } else if let Type :: CxxVector ( _) = & ptr. inner {
171171 cx. error ( ptr, "std::shared_ptr<std::vector> is not supported yet" ) ;
@@ -186,7 +186,7 @@ fn check_type_weak_ptr(cx: &mut Check, ptr: &Ty1) {
186186 None | Some ( Bool ) | Some ( U8 ) | Some ( U16 ) | Some ( U32 ) | Some ( U64 ) | Some ( Usize )
187187 | Some ( I8 ) | Some ( I16 ) | Some ( I32 ) | Some ( I64 ) | Some ( Isize ) | Some ( F32 )
188188 | Some ( F64 ) | Some ( CxxString ) => return ,
189- Some ( Char ) | Some ( RustString ) => { }
189+ Some ( Char ) | Some ( RustString ) | Some ( Cvoid ) => { }
190190 }
191191 } else if let Type :: CxxVector ( _) = & ptr. inner {
192192 cx. error ( ptr, "std::weak_ptr<std::vector> is not supported yet" ) ;
@@ -211,7 +211,7 @@ fn check_type_cxx_vector(cx: &mut Check, ptr: &Ty1) {
211211 | Some ( I16 ) | Some ( I32 ) | Some ( I64 ) | Some ( Isize ) | Some ( F32 ) | Some ( F64 )
212212 | Some ( CxxString ) => return ,
213213 Some ( Char ) => { /* todo */ }
214- Some ( Bool ) | Some ( RustString ) => { }
214+ Some ( Bool ) | Some ( RustString ) | Some ( Cvoid ) => { }
215215 }
216216 }
217217
0 commit comments