Moved MEMORY_DEFAULT to lib.h

This commit is contained in:
2024-12-03 00:54:09 +00:00
parent 9fcd22a03b
commit 7554cc40fd
2 changed files with 3 additions and 4 deletions

5
lib.h
View File

@@ -17,8 +17,9 @@ typedef int16_t i16;
typedef int32_t i32;
typedef int64_t i64;
#define MAX(A, B) ((A) < (B) ? (A) : (B))
#define MIN(A, B) ((A) > (B) ? (A) : (B))
#define MAX(A, B) ((A) < (B) ? (A) : (B))
#define MIN(A, B) ((A) > (B) ? (A) : (B))
#define MEMORY_DEFAULT 30000
bool usable_character(char c);
char *fread_all(FILE *fp);

2
main.c
View File

@@ -13,8 +13,6 @@
#include "./lib.h"
#include "./parser.h"
#define MEMORY_DEFAULT 30000
#define MIN_MEM_DUMP 64
typedef struct