aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flext.cpp
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2003-01-04 04:36:49 +0000
committerThomas Grill <xovo@users.sourceforge.net>2003-01-04 04:36:49 +0000
commitc2d193b8e78aeca08c8c49baa83cc40b9951b833 (patch)
tree4e403514c56c2a74db280095820a66fa4a7d2d24 /externals/grill/flext/source/flext.cpp
parent294e6785d6fbb1761fd68e2575f5fa25b148f5b0 (diff)
""
svn path=/trunk/; revision=320
Diffstat (limited to 'externals/grill/flext/source/flext.cpp')
-rw-r--r--externals/grill/flext/source/flext.cpp14
1 files changed, 12 insertions, 2 deletions
diff --git a/externals/grill/flext/source/flext.cpp b/externals/grill/flext/source/flext.cpp
index c13d8732..e54ad339 100644
--- a/externals/grill/flext/source/flext.cpp
+++ b/externals/grill/flext/source/flext.cpp
@@ -27,8 +27,6 @@ flext_base::flext_base():
insigs(0),outsigs(0),
outlets(NULL),outattr(NULL),
distmsgs(false),
- methhead(new itemarr),attrhead(new itemarr),
- clmethhead(ClMeths(thisClassId())),clattrhead(ClAttrs(thisClassId())),
inlets(NULL)
#if FLEXT_SYS == FLEXT_SYS_MAX
,indesc(NULL),outdesc(NULL)
@@ -36,6 +34,18 @@ flext_base::flext_base():
{
LOG1("%s - flext logging is on",thisName());
+ t_classid clid = thisClassId();
+ clmethhead = ClMeths(clid);
+ methhead = new itemarr;
+
+ if(procattr) {
+ // initialize when attribute processing is enabled
+ attrhead = new itemarr;
+ clattrhead = ClAttrs(clid);
+ }
+ else
+ attrhead = clattrhead = NULL;
+
// message queue ticker
qhead = qtail = NULL;
qclk = (t_qelem *)(qelem_new(this,(t_method)QTick));