Re: [Rd] Rf_errorcall - translate to Pascal

2006-02-17 Thread Prof Brian Ripley
I've made some changes in R-devel, so errorcall is now defined there and it is clear what is a macro and what is a function and which are both. I looked in the 'primitive access' functions/macros. It is clear that all these could be used for was to access the internal table of builtins, and th

Re: [Rd] Rf_errorcall - translate to Pascal

2006-02-16 Thread Hans-Peter
2006/2/16, Prof Brian Ripley <[EMAIL PROTECTED]>: > I realize you may be unfamiliar with C terminology, but you do definitely > seem to be misreadling Rinternals.h. Thanks for your helpful comments, I think I have understood now. I won't use the internal structures (but it's nevertheless nice to

Re: [Rd] Rf_errorcall - translate to Pascal

2006-02-16 Thread Prof Brian Ripley
On Thu, 16 Feb 2006, Hans-Peter wrote: > Hello! > > Thanks for your answers! > > --- > 2006/2/16, Duncan Murdoch <[EMAIL PROTECTED]>: >> I think it would be helpful to know the scope of the problem. Could you >> collect together a complete list of examples like this? > > yes, I will do that. Unti

Re: [Rd] Rf_errorcall - translate to Pascal

2006-02-16 Thread Hans-Peter
Hello! Thanks for your answers! --- 2006/2/16, Duncan Murdoch <[EMAIL PROTECTED]>: > I think it would be helpful to know the scope of the problem. Could you > collect together a complete list of examples like this? yes, I will do that. Until now it's only the one function mentioned and the 2 ma

Re: [Rd] Rf_errorcall - translate to Pascal

2006-02-16 Thread Prof Brian Ripley
On Thu, 16 Feb 2006, Hans-Peter wrote: > 2006/2/16, Hans-Peter <[EMAIL PROTECTED]>: >> [Rf_errorcall is not declared here, would be something like: >> void Rf_errorcall(SEXP, const char *,...)] >> >> ... would it be possible to pull the Rf_errorcall >> declaration to the error.h file? > >

Re: [Rd] Rf_errorcall - translate to Pascal

2006-02-16 Thread Rainer M Krug
Hans-Peter wrote: > 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 . . . Sounds interesting - Could you keep me updated about your progress? I would be interested in the header files to use them i

Re: [Rd] Rf_errorcall - translate to Pascal

2006-02-16 Thread Hans-Peter
2006/2/16, Hans-Peter <[EMAIL PROTECTED]>: > [Rf_errorcall is not declared here, would be something like: > void Rf_errorcall(SEXP, const char *,...)] > > ... would it be possible to pull the Rf_errorcall > declaration to the error.h file? error.h doesn't look like a good place as the SEX

Re: [Rd] Rf_errorcall - translate to Pascal

2006-02-16 Thread Duncan Murdoch
On 2/16/2006 3:55 AM, Hans-Peter wrote: > 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); ret

[Rd] Rf_errorcall - translate to Pascal

2006-02-16 Thread Hans-Peter
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){