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

Comparing ray/src/common/rterror.h (file contents):
Revision 3.3 by greg, Mon May 8 16:58:52 2017 UTC vs.
Revision 3.4 by greg, Mon Feb 6 22:40:21 2023 UTC

# Line 23 | Line 23 | extern "C" {
23                                  /* error struct */
24   extern struct erract {
25          char    pre[16];                /* prefix message */
26 <        void    (*pf)(char *s);         /* put function (resettable) */
26 >        void    (*pf)(const char *s);   /* put function (resettable) */
27          int     ec;                     /* exit code (0 means non-fatal) */
28   } erract[NERRS];        /* list of error actions */
29  
# Line 44 | Line 44 | extern char  errmsg[];                 /* global buffer for error me
44   #define  DCHECK(be,et,em)       (void)0
45   #endif
46                                          /* defined in error.c */
47 < extern void     error(int etype, char *emsg);
47 > extern void     error(int etype, const char *emsg);
48                                          /* error & warning output & exit */
49 < extern void     eputs(char *s);
50 < extern void     wputs(char *s);
49 > extern void     eputs(const char *s);
50 > extern void     wputs(const char *s);
51   extern void     quit(int code);
52  
53   #ifdef __cplusplus

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines