コード例 #1
0
ファイル: clangGen.c プロジェクト: omegahat/RClangSimple
SEXP R_clang_getElementType(SEXP r_T)
{
    SEXP r_ans = R_NilValue;
    CXType T = * GET_REF(r_T, CXType);
    
    CXType ans;
    ans = clang_getElementType(T);
    
    r_ans = R_makeCXType(ans) ;
    
    return(r_ans);
} 
コード例 #2
0
ファイル: clang++.cpp プロジェクト: mythagel/cxxide
cursor::type cursor::type::element_type()
{
    return { clang_getElementType(ctype) };
}