From 5874b7a35020a42e8e01e3d977a3c92e5aff3ce5 Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Tue, 15 Oct 2013 13:20:45 +0900 Subject: [PATCH] configurable heap/arena size --- include/picconf.h | 3 +++ include/picrin.h | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/picconf.h b/include/picconf.h index cdd8a51a..e61558f3 100644 --- a/include/picconf.h +++ b/include/picconf.h @@ -1,6 +1,9 @@ #ifndef PICCONF_H__ #define PICCONF_H__ +#define PIC_ARENA_SIZE 1024 +#define PIC_HEAP_SIZE 1024 + #define DEBUG 1 #if DEBUG diff --git a/include/picrin.h b/include/picrin.h index 7e3a71a9..5632565f 100644 --- a/include/picrin.h +++ b/include/picrin.h @@ -12,9 +12,6 @@ struct pic_env { struct pic_env *parent; }; -#define PIC_ARENA_SIZE 1024 -#define PIC_HEAP_SIZE 1024 - typedef struct { pic_value *sp; pic_value *stbase, *stend;