diff options
Diffstat (limited to 'apl9.h')
-rw-r--r-- | apl9.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -24,6 +24,7 @@ typedef enum AtypeArray } arrayDataType; + /* Data types */ typedef struct Array Array; typedef struct Datum Datum; @@ -50,6 +51,8 @@ struct Datum }; }; +typedef Array* (*fnmonad)(Array*); + /* Function prototypes for the different source files */ /* print.c */ Rune *ppdatum(Datum); @@ -80,7 +83,8 @@ Array *fnCatenateFirst(Array *, Array *); /* Global variables */ extern Rune *errormsg; /* eval.c */ extern int datasizes[]; /* array.c */ -extern Rune primfuncnames[]; /* lexer.c */ +extern Rune primfuncnames[]; /* function.c */ extern Rune primmonopnames[]; /* lexer.c */ extern Rune primdyadopnames[]; /* lexer.c */ -extern Rune primhybridnames[]; /* lexer.c */
\ No newline at end of file +extern Rune primhybridnames[]; /* lexer.c */ +extern fnmonad monadfunctiondefs[]; /* function.c */
\ No newline at end of file |