From a3e24e5ec82cda3495ee375ad6a1f2100b15359c Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Sat, 22 Oct 2005 18:56:30 +0000 Subject: file loading: fixed recognition of stringified directory names fixed clearing values and dirs, e.g. with messages clrall and clrrec fixed c++ conformance svn path=/trunk/; revision=3751 --- externals/grill/pool/source/main.cpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'externals/grill/pool/source/main.cpp') diff --git a/externals/grill/pool/source/main.cpp b/externals/grill/pool/source/main.cpp index 088a0917..cddf33c0 100644 --- a/externals/grill/pool/source/main.cpp +++ b/externals/grill/pool/source/main.cpp @@ -11,12 +11,11 @@ WARRANTIES, see the file, "license.txt," in this distribution. #include "pool.h" #include -#define POOL_VERSION "0.2.1" +#define POOL_VERSION "0.2.2pre" -#define VCNT 64 -#define DCNT 16 +#define VCNT 32 +#define DCNT 8 -const t_symbol *sym_echo = flext::MakeSymbol("echo"); class pool: public flext_base @@ -117,6 +116,8 @@ private: static BL ValChk(const AtomList &l) { return ValChk(l.Count(),l.Atoms()); } V ToOutAtom(I ix,const A &a); + static const t_symbol *sym_echo; + enum get_t { get_norm,get_cnt,get_print }; V set(I argc,const A *argv,BL over); @@ -227,6 +228,7 @@ FLEXT_NEW_V("pool",pool); pooldata *pool::head,*pool::tail; +const t_symbol *pool::sym_echo; V pool::setup(t_classid c) @@ -236,6 +238,7 @@ V pool::setup(t_classid c) post(""); head = tail = NULL; + sym_echo = MakeSymbol("echo"); FLEXT_CADDATTR_VAR(c,"pool",mg_pool,ms_pool); FLEXT_CADDATTR_VAR1(c,"absdir",absdir); -- cgit v1.2.1