aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flclass.h
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2003-07-29 02:32:56 +0000
committerThomas Grill <xovo@users.sourceforge.net>2003-07-29 02:32:56 +0000
commitf7e8bf39ce93d52d60cc6fd5e6a83539f9d598db (patch)
tree6c093f44a4b48444e7c7970a12512feb8c2ce367 /externals/grill/flext/source/flclass.h
parent1504a2e019bfecb07c93da78d8df9b6c99ee7a52 (diff)
""
svn path=/trunk/; revision=800
Diffstat (limited to 'externals/grill/flext/source/flclass.h')
-rw-r--r--externals/grill/flext/source/flclass.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/externals/grill/flext/source/flclass.h b/externals/grill/flext/source/flclass.h
index fce496a8..0f7df9c2 100644
--- a/externals/grill/flext/source/flclass.h
+++ b/externals/grill/flext/source/flclass.h
@@ -531,14 +531,14 @@ protected:
bool DumpAttrib(const char *attr) const { return DumpAttrib(MakeSymbol(attr)); }
//! List attributes
- int ListAttrib(AtomList &a) const;
+ void ListAttrib(AtomList &a) const;
//! Get an attribute value
bool GetAttrib(const t_symbol *s,AtomList &a) const;
//! Set an attribute value
bool SetAttrib(const t_symbol *s,const AtomList &a) { return SetAttrib(s,a.Count(),a.Atoms()); }
//! List methods
- int ListMethods(AtomList &a,int inlet = 0) const;
+ void ListMethods(AtomList &a,int inlet = 0) const;
/*! \addtogroup FLEXT_C_INOUT
@{
@@ -606,6 +606,11 @@ protected:
//! Create hash table out of the preliminary linked lists
void Finalize();
+
+ //! Get first element
+ Item *First() { return !Ready()?arr[0]:NULL; }
+ //! Get last element
+ Item *Last() { return !Ready()?arr[1]:NULL; }
//! Query whether the array has been finalized
bool Ready() const { return bits >= 0; }
@@ -634,6 +639,7 @@ protected:
void SetArgs(methfun fun,int argc,metharg *args);
+ int index;
int argc;
metharg *args;
methfun fun;
@@ -656,6 +662,7 @@ protected:
bool IsSet() const { return (flags&afl_getset) == afl_set; }
bool BothExist() const { return (flags&afl_bothexist) != 0; }
+ int index;
int flags;
metharg argtp;
methfun fun;