Skip to content
Prev 10365 / 63424 Next

declarations in non-exported headers and embedding R

Joe Conway <mail@joeconway.com> writes:
Some of it is certainly a well-known shortcoming of the set of
exports. E.g. tcltk.c has had

/* From Parse.h -- must find better solution: */
#define PARSE_NULL              0
#define PARSE_OK                1
#define PARSE_INCOMPLETE        2
#define PARSE_ERROR             3
#define PARSE_EOF               4

SEXP R_ParseVector(SEXP, int, int *);

for a couple of years (not that it gets much use since that interface
is mostly in the opposite direction). Adding an Rembedding.h or so could
be a good idea. However, it's not really my field of expertise and a
couple ofother R core members might have strong opinions on what
should be made available and how...

        -p