[Rd] Rf_errorcall - translate to Pascal

From: Hans-Peter <gchappi_at_gmail.com>
Date: Thu 16 Feb 2006 - 08:55:57 GMT


Hello!

I (try to) convert the external R header files to Pascal (Delphi). At one place I stumbled over a macro that uses a method that is not declared in a LGPL header file:

In Rinternals.h:

#define error_return(msg) { Rf_error(msg); return R_NilValue; }
#define errorcall_return(cl,msg){ Rf_errorcall(cl, msg); return R_NilValue; }



In Error.h:

    void Rf_error(const char *, ...);
    [Rf_errorcall is not declared here, would be something like:      void Rf_errorcall(SEXP, const char *,...)]

Is this by purpose or would it be possible to pull the Rf_errorcall declaration to the error.h file? It's not that I need the Rf_errorcall function, it's more that I am a bit pedantic and like to translate the complete thing (based on LGPL (which is more convenient in the Delphi world) - well you might not care about this).

How is this handled in general, I mean, there might be other spots like this. Is it appropriate to ask such questions here?

--
Regards,
Hans-Peter

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Thu Feb 16 19:58:03 2006

This archive was generated by hypermail 2.1.8 : Mon 20 Feb 2006 - 03:21:41 GMT