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

Comparing ray/src/common/object.h (file contents):
Revision 2.24 by greg, Wed Aug 10 20:44:34 2022 UTC vs.
Revision 2.27 by greg, Mon Jun 23 19:56:47 2025 UTC

# Line 24 | Line 24 | extern "C" {
24   typedef struct {
25          char  **sarg;                   /* string arguments */
26          RREAL  *farg;                   /* real arguments */
27 <        short  nsargs;                  /* # of string arguments */
28 <        short  nfargs;                  /* # of real arguments */
27 >        int  nsargs;                    /* # of string arguments */
28 >        int  nfargs;                    /* # of real arguments */
29   #ifdef  IARGS
30 <        short  niargs;                  /* # of integer arguments */
30 >        int  niargs;                    /* # of integer arguments */
31          long  *iarg;                    /* integer arguments */
32   #endif
33   }  FUNARGS;
# Line 58 | Line 58 | typedef struct {
58  
59   #ifndef  MAXOBJBLK
60   #ifdef  SMLMEM
61 < #define  MAXOBJBLK      1023            /* maximum number of object blocks */
61 > #define  MAXOBJBLK      16383           /* maximum number of object blocks */
62   #else
63 < #define  MAXOBJBLK      131071          /* maximum number of object blocks */
63 > #define  MAXOBJBLK      1048503         /* maximum number of object blocks */
64   #endif
65   #endif
66  
# Line 83 | Line 83 | extern OBJECT  nobjects;               /* # of objects */
83  
84   #define setfree(os)     free((void *)(os))
85  
86 < extern void  (*addobjnotify[])();        /* people to notify of new objects */
86 > extern void  (*addobjnotify[])(OBJECT); /* people to notify of new objects */
87  
88                                          /* defined in modobject.c */
89   extern OBJECT   objndx(OBJREC *op);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines