Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 27 lines (23 sloc) 0.85 kB
cf92e3b @mbert Import Elvis 2.0 (written by Steve Kirkendall)
authored
1 /* calc.h */
2 /* Copyright 1995 by Steve Kirkendall */
3
9f1c6f0 @mbert Import Elvis 2.2_0 (written by Steve Kirkendall)
authored
4 /* This is used for storing information about subscripts */
5 typedef struct
6 {
7 CHAR *ptr; /* start of a chunk of text */
8 int len; /* length of the chunk */
9 } CHUNK;
10
11 typedef enum {CALC_DOLLAR=1, CALC_PAREN=2, CALC_MSG=3, CALC_OUTER=4, CALC_ALL=7} CALCRULE;
12
cf92e3b @mbert Import Elvis 2.0 (written by Steve Kirkendall)
authored
13 BEGIN_EXTERNC
9f1c6f0 @mbert Import Elvis 2.2_0 (written by Steve Kirkendall)
authored
14 extern ELVBOOL calcnumber P_((CHAR *value));
15 extern ELVBOOL calctrue P_((CHAR *value));
16 extern CHAR *calculate P_((CHAR *expr, CHAR **arg, CALCRULE rule));
17 #ifdef FEATURE_CALC
18 # ifdef FEATURE_ARRAY
19 extern _CHAR_ calcsubscript P_((CHAR *array, CHAR *sub, int max, CHUNK *chunks));
20 # endif
21 extern ELVBOOL calcbase10 P_((CHAR *value));
22 extern ELVBOOL calcsel P_((MARK from, MARK to));
23 extern CHAR *calcelement P_((CHAR *set, CHAR *element));
24 extern CHAR *calcset P_((CHAR *left, _CHAR_ oper, CHAR *right));
25 #endif
cf92e3b @mbert Import Elvis 2.0 (written by Steve Kirkendall)
authored
26 END_EXTERNC
Something went wrong with that request. Please try again.