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

Comparing ray/src/common/instance.h (file contents):
Revision 2.4 by greg, Tue Feb 25 02:47:21 2003 UTC vs.
Revision 2.6 by greg, Fri Jun 27 06:53:21 2003 UTC

# Line 4 | Line 4
4   *
5   *  Include after object.h and octree.h
6   */
7 + #ifndef _RAD_INSTANCE_H_
8 + #define _RAD_INSTANCE_H_
9 + #ifdef __cplusplus
10 + extern "C" {
11 + #endif
12  
8 #include "copyright.h"
9
13   typedef struct scene {
14          char  *name;                    /* octree name */
15          int  nref;                      /* number of references */
# Line 21 | Line 24 | typedef struct {
24          SCENE  *obj;                    /* loaded object */
25   }  INSTANCE;                    /* instance of octree */
26  
24 #ifdef NOPROTO
27  
26 extern SCENE  *getscene();
27 extern INSTANCE  *getinstance();
28 extern void  freescene();
29 extern void  freeinstance();
30
31 #else
32
28   extern SCENE  *getscene(char *sname, int flags);
29   extern INSTANCE  *getinstance(OBJREC *o, int flags);
30   extern void  freescene(SCENE *sc);
31   extern void  freeinstance(OBJREC *o);
32  
33 +
34 + #ifdef __cplusplus
35 + }
36   #endif
37 + #endif /* _RAD_INSTANCE_H_ */
38 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines