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

Comparing ray/src/cv/mgflib/parser.h (file contents):
Revision 1.6 by greg, Fri Jun 24 16:28:12 1994 UTC vs.
Revision 1.7 by greg, Sat Jun 25 09:47:58 1994 UTC

# Line 90 | Line 90 | extern char    *mg_err[MG_NERRS];
90   #define MG_MAXARGC      (MG_MAXLINE/4)  /* maximum argument count */
91  
92   typedef struct mg_fctxt {
93 <        char    *fname;                         /* file name */
93 >        char    fname[96];                      /* file name */
94          FILE    *fp;                            /* stream pointer */
95          char    inpline[MG_MAXLINE];            /* input line */
96          int     lineno;                         /* line number */
# Line 260 | Line 260 | extern int     c_hmaterial();                  /* handle material entity
260   extern int      c_hvertex();                    /* handle vertex entity */
261   extern void     c_clearall();                   /* clear context tables */
262   extern C_VERTEX *c_getvert();                   /* get a named vertex */
263 + extern C_COLOR  *c_getcolor();                  /* get a named color */
264   extern void     c_ccvt();                       /* fix color representation */
265   extern int      c_isgrey();                     /* check if color is grey */
266   #else
# Line 268 | Line 269 | extern int     c_hmaterial(int, char **);      /* handle materi
269   extern int      c_hvertex(int, char **);        /* handle vertex entity */
270   extern void     c_clearall(void);               /* clear context tables */
271   extern C_VERTEX *c_getvert(char *);             /* get a named vertex */
272 + extern C_COLOR  *c_getcolor(char *);            /* get a named color */
273   extern void     c_ccvt(C_COLOR *, int);         /* fix color representation */
274   extern int      c_isgrey(C_COLOR *);            /* check if color is grey */
275   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines