aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/pool/source/pool.h
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2005-06-07 14:14:51 +0000
committerThomas Grill <xovo@users.sourceforge.net>2005-06-07 14:14:51 +0000
commit0e0792d5b45037c5bd3202fe4de4e68f4e0886c5 (patch)
treee021f22bd8aa79fe6a148d01d9bf758ae16a73d6 /externals/grill/pool/source/pool.h
parent86806ae2e1bb2799ff57ad8279be922e51e082e7 (diff)
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
Diffstat (limited to 'externals/grill/pool/source/pool.h')
-rw-r--r--externals/grill/pool/source/pool.h10
1 files changed, 6 insertions, 4 deletions
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 <flext.h>
-#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 <iostream>
@@ -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)
{