From f7e8bf39ce93d52d60cc6fd5e6a83539f9d598db Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Tue, 29 Jul 2003 02:32:56 +0000 Subject: "" svn path=/trunk/; revision=800 --- externals/grill/flext/source/flclass.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'externals/grill/flext/source/flclass.h') 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; -- cgit v1.2.1