aboutsummaryrefslogtreecommitdiffstats
path: root/math/eval/files/patch-eval.h
blob: 84b35dd51993c5ce50b93765009f4d501d9cc64b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- /tmp/Eval/source/eval.h Tue Apr 13 21:04:44 1993
+++ eval.h  Wed Mar 16 04:26:57 1994
@@ -55,6 +55,8 @@
 #define    MAXINPUT    160
 #define    NUMFUNCS    30
 #define    MAXFLEN     6
+#define    MAXALEN     3
+#define    MAXDLEN     80
 #define    SCRWIDTH    80
 #define    MAXARGS     10
 #define    EOS          '\0'
@@ -115,6 +117,12 @@
                char    type;
                int     code;
                } TOKEN, *TOKENPTR;
+typedef struct {
+               int     id;
+               char    name[MAXFLEN+1];
+               char    argspec[MAXALEN+1];
+               char    desc[MAXDLEN+1];
+               } FUNC, *FUNCPTR;
 
 /* Function definitions */
 
@@ -131,6 +139,8 @@
 char   *func_name       (int);
 int     func_nargs      (int);
 int     print_funclist  (FILE *s,char *input,int d);
+
+extern FUNC    flist[];
 
 /* ----- PARSE.C functions -------------------------------------------- */