Skip to content
Snippets Groups Projects
Commit f24783f1 authored by Mick Jordan's avatar Mick Jordan
Browse files

TruffleNFI: implement more Rinternals

parent db8b8006
No related branches found
No related tags found
No related merge requests found
...@@ -906,7 +906,7 @@ SEXP *VECTOR_PTR(SEXP x){ ...@@ -906,7 +906,7 @@ SEXP *VECTOR_PTR(SEXP x){
} }
SEXP Rf_asChar(SEXP x){ SEXP Rf_asChar(SEXP x){
return unimplemented("Rf_asChar"); return ((call_Rf_asChar) callbacks[Rf_asChar_x])(x);
} }
SEXP Rf_PairToVectorList(SEXP x){ SEXP Rf_PairToVectorList(SEXP x){
...@@ -931,8 +931,7 @@ int Rf_asInteger(SEXP x) { ...@@ -931,8 +931,7 @@ int Rf_asInteger(SEXP x) {
} }
double Rf_asReal(SEXP x) { double Rf_asReal(SEXP x) {
unimplemented("Rf_asReal"); return ((call_Rf_asReal) callbacks[Rf_asReal_x])(x);
return 0.0;
} }
Rcomplex Rf_asComplex(SEXP x){ Rcomplex Rf_asComplex(SEXP x){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment