SEXP R_clang_equalRanges(SEXP r_range1, SEXP r_range2) { SEXP r_ans = R_NilValue; CXSourceRange range1 = * GET_REF(r_range1, CXSourceRange); CXSourceRange range2 = * GET_REF(r_range2, CXSourceRange); unsigned int ans; ans = clang_equalRanges(range1, range2); r_ans = ScalarReal(ans) ; return(r_ans); }
bool source_range::operator==(const source_range& o) const { return clang_equalRanges(range, o.range); }
bool operator==(const SourceRange &first, const SourceRange &second) { return clang_equalRanges(first.cxSourceRange, second.cxSourceRange); }