ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/meta/impress.c
(Generate patch)

Comparing ray/src/meta/impress.c (file contents):
Revision 1.3 by schorsch, Mon Oct 27 10:28:59 2003 UTC vs.
Revision 1.4 by schorsch, Sat Nov 15 02:13:37 2003 UTC

# Line 13 | Line 13 | static const char      RCSid[] = "$Id$";
13   #include  "meta.h"
14   #include  "imPcodes.h"
15   #include  "imPfuncs.h"
16 + #include  "plot.h"
17  
18  
19   #define  XCOM  "pexpand +OCIsv -P %s"
# Line 24 | Line 25 | FILE  *imout;
25  
26   static short  newpage = TRUE;
27  
28 + static void doprim(register PRIMITIVE  *p);
29 + static void doglobal(register PRIMITIVE  *g);
30  
31  
29 main(argc, argv)
32  
33 < int  argc;
34 < char  **argv;
33 > int
34 > main(
35 >        int  argc,
36 >        char  **argv
37 > )
38  
39   {
40   FILE  *fp;
# Line 98 | Line 103 | char  **argv;
103   }
104  
105  
106 + void
107 + plot(           /* plot meta-file */
108 +        register FILE  *infp
109 + )
110  
102 plot(infp)              /* plot meta-file */
103
104 register FILE  *infp;
105
111   {
112      PRIMITIVE  nextp;
113  
# Line 121 | Line 126 | register FILE  *infp;
126  
127  
128  
129 + void
130 + doglobal(                       /* execute a global command */
131 +        register PRIMITIVE  *g
132 + )
133  
125
126
127 doglobal(g)                     /* execute a global command */
128
129 register PRIMITIVE  *g;
130
134   {
132    char  c;
133
135      switch (g->com) {
136  
137          case PEOF:
# Line 168 | Line 169 | register PRIMITIVE  *g;
169  
170  
171  
172 <
173 < doprim(p)               /* plot primitive */
174 <
175 < register PRIMITIVE  *p;
172 > void
173 > doprim(         /* plot primitive */
174 >        register PRIMITIVE  *p
175 > )
176  
177   {
178  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines