make function ptr use conform to C99
put in missing return in Rf_eval