/** * memory.h: Memory allocation. */ #ifndef MEMORY_H #define MEMORY_H #include "aterm2.h" #define MAX_ARITY 256 #define MIN_TERM_SIZE 2 #define MAX_TERM_SIZE (MAX_ARITY+3) #define MAX_BLOCKS_PER_SIZE 1024 #define MAX_INLINE_ARITY 6 /* To change the block size, modify BLOCK_SHIFT only! */ #define BLOCK_SHIFT 16 #define BLOCK_SIZE (1<