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

Comparing ray/src/common/calcomp.h (file contents):
Revision 2.22 by greg, Thu May 1 16:42:05 2008 UTC vs.
Revision 2.24 by greg, Tue Sep 26 18:33:14 2023 UTC

# Line 57 | Line 57 | typedef struct vardef  VARDEF; /* a variable definitio
57  
58   #define  evalue(ep)     (*eoper[(ep)->type])(ep)
59  
60 + #define  dfn_name(ep)   ((ep)->v.kid->type == SYM ? \
61 +                        (ep)->v.kid->v.name : \
62 +                        (ep)->v.kid->v.kid->v.name)
63 +
64                                          /* flags to set in esupport */
65   #define  E_VARIABLE     001
66   #define  E_FUNCTION     002
# Line 71 | Line 75 | extern unsigned int  esupport;
75   extern EPNODE   *curfunc;
76   extern int  nextc;
77   extern int  eofc;
74
78                                          /* defined in biggerlib.c */
79   extern void biggerlib(void);
77
80                                          /* defined in caldefn.c */
81   extern void     fcompile(char *fname);
82   extern void     scompile(char *str, char *fname, int ln);
# Line 84 | Line 86 | extern void    varset(char *vname, int assign, double val
86   extern void     dclear(char *name);
87   extern void     dremove(char *name);
88   extern int      vardefined(char *name);
89 < extern char     *setcontext(char *ctx);
89 > extern char     *calcontext(char *ctx);
90   extern char     *pushcontext(char *ctx);
91   extern char     *popcontext(void);
92   extern char     *qualname(char *nam, int lvl);
# Line 145 | Line 147 | extern void    eprint(EPNODE *ep, FILE *fp);
147   extern void     dprint(char *name, FILE *fp);
148                                          /* defined by client */
149   extern double   chanvalue(int n);
148
150  
151   #ifdef __cplusplus
152   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines