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

Comparing ray/src/ot/readobj2.c (file contents):
Revision 2.8 by schorsch, Mon Oct 27 10:29:29 2003 UTC vs.
Revision 2.9 by schorsch, Sat Mar 27 12:41:45 2004 UTC

# Line 15 | Line 15 | static const char      RCSid[] = "$Id$";
15   #include  "rterror.h"
16   #include  "object.h"
17   #include  "otypes.h"
18 + #include  "oconv.h"
19  
20  
21 < static void getobject2(char  *name, FILE  *fp, int  (*f)());
21 > static void getobject2(char  *name, FILE  *fp, ro_cbfunc f);
22  
23 < readobj2(input, callback)       /* read in an object file or stream */
24 < char  *input;
25 < int  (*callback)();
23 >
24 > void
25 > readobj2(       /* read in an object file or stream */
26 >        char  *input,
27 >        ro_cbfunc callback
28 > )
29   {
30          char  *fgetline();
31          FILE  *infp;
# Line 63 | Line 67 | int  (*callback)();
67  
68   static void
69   getobject2(                     /* read the next object */
70 < char  *name,
71 < FILE  *fp,
72 < int  (*f)()
70 >        char  *name,
71 >        FILE  *fp,
72 >        ro_cbfunc f
73   )
74   {
75          char  sbuf[MAXSTR];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines