From c5e6b7b4c1adab9c40ea7c73e828605cbad833f8 Mon Sep 17 00:00:00 2001 From: Nathan Vance Date: Sun, 22 Feb 2015 23:04:50 -0500 Subject: Added more support for idefinites, but has major bugs! --- util.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'util.c') diff --git a/util.c b/util.c index 829e7d1..2935600 100644 --- a/util.c +++ b/util.c @@ -8,6 +8,7 @@ static void replace(char a[], char b[], int x, int y); #define POOLSIZE 10000 static int ipool[POOLSIZE]; static int *ipoolp = ipool; + int* get_intarray(int size) { if(ipoolp + size > ipool + POOLSIZE) ipoolp = ipool; @@ -18,6 +19,7 @@ int* get_intarray(int size) static char cpool[POOLSIZE]; static char *cpoolp = cpool; + char* get_chararray(int size) { if(cpoolp + size > cpool + POOLSIZE) cpoolp = cpool; -- cgit