--- ray/src/common/object.h 2022/08/10 20:44:34 2.24 +++ ray/src/common/object.h 2025/06/23 19:56:47 2.27 @@ -1,4 +1,4 @@ -/* RCSid $Id: object.h,v 2.24 2022/08/10 20:44:34 greg Exp $ */ +/* RCSid $Id: object.h,v 2.27 2025/06/23 19:56:47 greg Exp $ */ /* * object.h - header file for routines using objects and object sets. * @@ -24,10 +24,10 @@ extern "C" { typedef struct { char **sarg; /* string arguments */ RREAL *farg; /* real arguments */ - short nsargs; /* # of string arguments */ - short nfargs; /* # of real arguments */ + int nsargs; /* # of string arguments */ + int nfargs; /* # of real arguments */ #ifdef IARGS - short niargs; /* # of integer arguments */ + int niargs; /* # of integer arguments */ long *iarg; /* integer arguments */ #endif } FUNARGS; @@ -58,9 +58,9 @@ typedef struct { #ifndef MAXOBJBLK #ifdef SMLMEM -#define MAXOBJBLK 1023 /* maximum number of object blocks */ +#define MAXOBJBLK 16383 /* maximum number of object blocks */ #else -#define MAXOBJBLK 131071 /* maximum number of object blocks */ +#define MAXOBJBLK 1048503 /* maximum number of object blocks */ #endif #endif @@ -83,7 +83,7 @@ extern OBJECT nobjects; /* # of objects */ #define setfree(os) free((void *)(os)) -extern void (*addobjnotify[])(); /* people to notify of new objects */ +extern void (*addobjnotify[])(OBJECT); /* people to notify of new objects */ /* defined in modobject.c */ extern OBJECT objndx(OBJREC *op);