ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/data.h
(Generate patch)

Comparing ray/src/rt/data.h (file contents):
Revision 2.5 by greg, Tue Feb 25 02:47:22 2003 UTC vs.
Revision 2.7 by greg, Fri Jun 27 06:53:22 2003 UTC

# Line 2 | Line 2
2   /*
3   * Header for data file loading and computation routines.
4   */
5 + #ifndef _RAD_DATA_H_
6 + #define _RAD_DATA_H_
7 + #ifdef __cplusplus
8 + extern "C" {
9 + #endif
10  
6 #include "copyright.h"
7
11   #define  MAXDDIM        5               /* maximum data dimensions */
12  
13   #define  DATATYPE       float           /* single precision to save space */
# Line 26 | Line 29 | typedef struct datarray {
29          struct datarray  *next;         /* next array in list */
30   } DATARRAY;                     /* a data array */
31  
29 #ifdef NOPROTO
32  
31 extern DATARRAY *getdata();
32 extern DATARRAY *getpict();
33 extern void     freedata();
34 extern double   datavalue();
35
36 #else
37
33   extern DATARRAY *getdata(char *dname);
34   extern DATARRAY *getpict(char *pname);
35   extern void     freedata(DATARRAY *dta);
36   extern double   datavalue(DATARRAY *dp, double *pt);
37  
38 +
39 + #ifdef __cplusplus
40 + }
41   #endif
42 + #endif /* _RAD_DATA_H_ */
43 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines