Hi,

a couple of minor fixes to R-exts.texi:

In
@subsection Setting R callbacks
which describes Rinterface.h,

The @example block correctly has

extern int  (*ptr_R_ReadConsole)(char *, unsigned char *, int, int);
extern int  (*ptr_R_ShowFiles)(int, char **, char **, char *,
                               Rboolean, char *);

Just below that, these are described incorrectly as:

deftypefun int R_ReadConsole (char [EMAIL PROTECTED], char [EMAIL PROTECTED], @
  int @var{buflen}, int @var{hist})

(missing 'unsigned')

@deftypefun void R_ShowFiles (int @var{nfile}, char [EMAIL PROTECTED], [...]

(return type 'void' instead of 'int')


Also, the paragraph on R_ReadConsole ends with:

"The return value is 0 on success and >0 on failure."

This is wrong.

-Deepayan

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to