From 0e0792d5b45037c5bd3202fe4de4e68f4e0886c5 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Tue, 7 Jun 2005 14:14:51 +0000 Subject: added saving/loading of spaces and other special characters (escaping) use AtomListStatic where feasible better method for discriminating numbers and symbols - by Frank Barknecht svn path=/trunk/; revision=3126 --- externals/grill/pool/source/pool.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'externals/grill/pool/source/pool.h') diff --git a/externals/grill/pool/source/pool.h b/externals/grill/pool/source/pool.h index 844ba4d8..204fd1ce 100644 --- a/externals/grill/pool/source/pool.h +++ b/externals/grill/pool/source/pool.h @@ -15,8 +15,8 @@ WARRANTIES, see the file, "license.txt," in this distribution. #include -#if !defined(FLEXT_VERSION) || (FLEXT_VERSION < 406) -#error You need at least flext version 0.4.6 +#if !defined(FLEXT_VERSION) || (FLEXT_VERSION < 500) +#error You need at least flext version 0.5.0 #endif #include @@ -32,6 +32,8 @@ typedef bool BL; typedef t_atom A; typedef t_symbol S; +typedef flext::AtomListStatic<8> Atoms; + class poolval: public flext { @@ -75,7 +77,7 @@ public: AtomList *PeekVal(const A &key); AtomList *GetVal(const A &key,BL cut = false); I CntAll() const; - I GetAll(A *&keys,AtomList *&lst,BL cut = false); + I GetAll(A *&keys,Atoms *&lst,BL cut = false); I PrintAll(char *buf,int len) const; I GetKeys(AtomList &keys); I CntSub() const; @@ -218,7 +220,7 @@ public: } I PrintAll(const AtomList &d); - I GetAll(const AtomList &d,A *&keys,AtomList *&lst); + I GetAll(const AtomList &d,A *&keys,Atoms *&lst); I CntSub(const AtomList &d) { -- cgit v1.2.1