@@ -126,7 +126,7 @@ fn check_type_rust_vec(cx: &mut Check, ty: &Ty1) {
126
126
None | Some ( Bool ) | Some ( Char ) | Some ( U8 ) | Some ( U16 ) | Some ( U32 ) | Some ( U64 )
127
127
| Some ( Usize ) | Some ( I8 ) | Some ( I16 ) | Some ( I32 ) | Some ( I64 ) | Some ( Isize )
128
128
| Some ( F32 ) | Some ( F64 ) | Some ( RustString ) => return ,
129
- Some ( CxxString ) => { }
129
+ Some ( CxxString ) | Some ( Cvoid ) => { }
130
130
}
131
131
}
132
132
Type :: Str ( _) => return ,
@@ -165,7 +165,7 @@ fn check_type_shared_ptr(cx: &mut Check, ptr: &Ty1) {
165
165
None | Some ( Bool ) | Some ( U8 ) | Some ( U16 ) | Some ( U32 ) | Some ( U64 ) | Some ( Usize )
166
166
| Some ( I8 ) | Some ( I16 ) | Some ( I32 ) | Some ( I64 ) | Some ( Isize ) | Some ( F32 )
167
167
| Some ( F64 ) | Some ( CxxString ) => return ,
168
- Some ( Char ) | Some ( RustString ) => { }
168
+ Some ( Char ) | Some ( RustString ) | Some ( Cvoid ) => { }
169
169
}
170
170
} else if let Type :: CxxVector ( _) = & ptr. inner {
171
171
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) {
186
186
None | Some ( Bool ) | Some ( U8 ) | Some ( U16 ) | Some ( U32 ) | Some ( U64 ) | Some ( Usize )
187
187
| Some ( I8 ) | Some ( I16 ) | Some ( I32 ) | Some ( I64 ) | Some ( Isize ) | Some ( F32 )
188
188
| Some ( F64 ) | Some ( CxxString ) => return ,
189
- Some ( Char ) | Some ( RustString ) => { }
189
+ Some ( Char ) | Some ( RustString ) | Some ( Cvoid ) => { }
190
190
}
191
191
} else if let Type :: CxxVector ( _) = & ptr. inner {
192
192
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) {
211
211
| Some ( I16 ) | Some ( I32 ) | Some ( I64 ) | Some ( Isize ) | Some ( F32 ) | Some ( F64 )
212
212
| Some ( CxxString ) => return ,
213
213
Some ( Char ) => { /* todo */ }
214
- Some ( Bool ) | Some ( RustString ) => { }
214
+ Some ( Bool ) | Some ( RustString ) | Some ( Cvoid ) => { }
215
215
}
216
216
}
217
217
0 commit comments