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

Comparing ray/src/cv/trans.h (file contents):
Revision 1.1 by greg, Tue Dec 11 08:45:53 1990 UTC vs.
Revision 2.3 by schorsch, Sat Jun 7 01:10:23 2003 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1990 Regents of the University of California */
2 <
3 < /* SCCSid "$SunId$ LBL" */
4 <
1 > /* RCSid: $Id$ */
2   /*
3   * Translator definitions
4   *
5   *      Greg Ward
6   */
7 + #ifndef _RAD_TRANS_H_
8 + #define _RAD_TRANS_H_
9 + #ifdef __cplusplus
10 + extern "C" {
11 + #endif
12  
13 +
14   #define MAXSTR          128     /* maximum input string length */
15  
16   #define VOIDID          "void"  /* null modifier */
# Line 45 | Line 48 | typedef struct rule {
48   #define rulsiz(nq)      (sizeof(RULEHD)+(nq)*sizeof(IDMATCH))
49   #define idm(rp)         ((IDMATCH *)((rp)+1))
50  
51 < char    *malloc(), *calloc(), *realloc();
52 < char    *savestr();
53 < RULEHD  *getmapping();
51 >
52 >        /* defined in common/savestr.c - XXX one of several declarations */
53 > char    *savestr(char *str);
54 >        /* defined in trans.c */
55 > RULEHD  *getmapping(char *file, QLIST *qlp);
56 >
57 >
58 > #ifdef __cplusplus
59 > }
60 > #endif
61 > #endif /* _RAD_TRANS_H_ */
62 >

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines