We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ff53d7a + e5dd02c commit 6b30385Copy full SHA for 6b30385
src/clang.rs
@@ -704,21 +704,6 @@ impl Type {
704
unsafe { clang_isFunctionTypeVariadic(self.x) != 0 }
705
}
706
707
- /// Given that this type is a function type, get the types of its
708
- /// parameters.
709
- pub fn arg_types(&self) -> Vec<Type> {
710
- unsafe {
711
- let num = clang_getNumArgTypes(self.x) as usize;
712
- let mut args = vec![];
713
- for i in 0..num {
714
- args.push(Type {
715
- x: clang_getArgType(self.x, i as c_uint),
716
- });
717
- }
718
- args
719
720
721
-
722
/// Given that this type is a function type, get the type of its return
723
/// value.
724
pub fn ret_type(&self) -> Option<Type> {
0 commit comments