Displaying 1 result from an estimated 1 matches for "rsint".
Did you mean:
rint
2008 Jun 04
1
Splus/R typedef for C equivalent of S "integer"
...some other R header file
(Splus now has an R.h and other header files with the R
names that we recommend for all package work.)
Should this be a typedef or a #define? What should its
name be?
There is a file, RSCommon.h (from omegahat?), that I've seen
in a few packages which uses a typedef, RSInt, for this.
Repeated typedefs, even with the same definition, are illegal
so putting typedef ... RSInt into R.h would break those packages.
(C doesn't yet have an if-typedef-exists or untypedef construct,
does it?)
I like XXXinteger, since it refers to the R/Splus name of
the class, "integ...