summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/clang.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/clang.rs b/src/clang.rs
index 7702c660..045c4987 100755
--- a/src/clang.rs
+++ b/src/clang.rs
@@ -401,16 +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) -> Type {
- unsafe {
- Type {
- x: clang_getCursorResultType(self.x),
- }
- }
- }
-
- /// 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