Beispiel #1
0
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);
} 
Beispiel #2
0
bool source_range::operator==(const source_range& o) const
{
    return clang_equalRanges(range, o.range);
}
Beispiel #3
0
bool operator==(const SourceRange &first, const SourceRange &second)
{
    return clang_equalRanges(first.cxSourceRange, second.cxSourceRange);
}