summaryrefslogtreecommitdiff
path: root/apl9.h
diff options
context:
space:
mode:
authorPeter Mikkelsen <petermikkelsen10@gmail.com>2022-01-15 13:03:11 +0000
committerPeter Mikkelsen <petermikkelsen10@gmail.com>2022-01-15 13:03:11 +0000
commitd464a1d3a62d620b6336131c355467bdc273e3c5 (patch)
treef1e495cbff84173fea0bb238bfb01e509ab524fe /apl9.h
parent65f7f8c1f339e11ed7867eb1c19fa4692976221a (diff)
Rework printer to add vertical padding too
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 */