Include file changes

Kurt Hornik
Tue, 15 Jun 1999 10:40:31 +0200 (CEST)

>>>>> Ross Ihaka writes:

> I think we are long overdue for a revision of the header files used in
> R.  This is going to be especially important for a clean build of the
> CORBA and R/Java stuff which I have been looking over Duncan's
> shoulder at.  It will also let us integrate some of the features
> Duncan has had to find creative ways around and also to let us
> integrate things like the PROBLEM buffer problem.

> I would propose that we cut down to a much smaller set of includes and
> to put some thought about what goes in each.  Something along the
> lines below.

>         R.h / S.h
>                 This just serves to include Platform.h, RInternals.h and
>                 RUtilities.h below.

>         Platform.h
>                 Platform specific definitions.

Maybe `RPlatform.h' then?

>         RInternals.h
>                 R Data Structures & Access Macros
>                 Memory management
>                 Functions which manipulate R data structures

>         RUtilities.h
>                 Functions which operate at the C level
>                 without special knowlege of R structures
>                 (But maybe not Math).

Such as the things currently in appl?

>         RMath.h
>                 We probably need a separate set of declarations
>                 but maybe not.

>         RGraphics.h
>                 This is big and is logically separate from
>                 other C code.  Some things which are not in
>                 here should be -- e.g. hsv2rgb.

Yes, good point.

> (I think the rest of the code could also stand a bit of clean up too).

r-devel mailing list -- Read
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: