summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/clang.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/clang.rs b/src/clang.rs
index dd4bcdf8..85d0914f 100755
--- a/src/clang.rs
+++ b/src/clang.rs
@@ -401,17 +401,6 @@ impl Cursor {
}
/// Given that this cursor's referent is a function/method call or
- /// declaration, return a cursor to its return type.
- pub fn ret_type(&self) -> Option<Type> {
- unsafe {
- let ret = Type {
- x: clang_getCursorResultType(self.x),
- };
- if true { Some(ret) } else { None }
- }
- }
-
- /// Given that this cursor's referent is a function/method call or
/// declaration, return the number of arguments it takes.
///
/// Returns -1 if the cursor's referent is not a function/method call or