summaryrefslogtreecommitdiff
path: root/apl9.h
diff options
context:
space:
mode:
Diffstat (limited to 'apl9.h')
-rw-r--r--apl9.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/apl9.h b/apl9.h
index 3317e3b..8eb570f 100644
--- a/apl9.h
+++ b/apl9.h
@@ -156,6 +156,9 @@ void freesymtab(Symtab *);
vlong globalIO(void);
/* memory.c */
+void *emalloc(ulong);
+void checkmem(char *);
+
Array *allocarray(int, int, int);
void freearray(Array *);
void incref(Array *);
@@ -193,6 +196,7 @@ Array *opOver(Datum *, Datum *, Array *, Array *);
/* Global variables */
extern int traceeval; /* eval.c */
+extern int debugmem; /* memory.c */
extern Rune *errormsg; /* eval.c */
extern int datasizes[]; /* array.c */
extern Rune primfuncnames[]; /* functions.c */
@@ -205,4 +209,4 @@ extern opmonad monadoperatordefs[]; /* operators.c */
extern opdyad dyadoperatordefs[]; /* operators.c */
extern Symtab *globalsymtab; /* symbol.c */
extern Symtab *currentsymtab; /* symbol.c */
-extern int alloccounts; /* memory.c */ \ No newline at end of file
+extern int alloccounts; /* memory.c */