--- parser3/src/include/pa_pool.h 2001/01/26 18:34:02 1.5 +++ parser3/src/include/pa_pool.h 2001/01/27 15:00:04 1.7 @@ -1,5 +1,5 @@ /* - $Id: pa_pool.h,v 1.5 2001/01/26 18:34:02 paf Exp $ + $Id: pa_pool.h,v 1.7 2001/01/27 15:00:04 paf Exp $ */ #ifndef PA_POOL_H @@ -9,6 +9,7 @@ #include "pa_string.h" #include "pa_hash.h" +#include "pa_array.h" class Pool { public: @@ -23,9 +24,14 @@ public: String *make_string(char *src) { return new(this) String(this, src); } - - Hash *make_hash() { - return new(this) Hash(this); + Hash *make_hash() { + return new(this) Hash(this); + } + Array *make_array() { + return new(this) Array(this); + } + Array *make_array(int initial_rows) { + return new(this) Array(this, initial_rows); } };