aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2003-06-06 02:37:17 +0000
committerThomas Grill <xovo@users.sourceforge.net>2003-06-06 02:37:17 +0000
commitd97d46e2806969c994647ee8e3ce64b4f3d1d9f6 (patch)
treea130ac9ea2144b6e2fd40dc56edb24558f54e566 /externals/grill/flext/source
parent1b3a9c2ac678727df211d5de8bd032bc2cf1ac4b (diff)
""
svn path=/trunk/; revision=684
Diffstat (limited to 'externals/grill/flext/source')
-rw-r--r--externals/grill/flext/source/flbuf.cpp1
-rw-r--r--externals/grill/flext/source/fldefs_setup.h10
-rw-r--r--externals/grill/flext/source/flsupport.h1
3 files changed, 10 insertions, 2 deletions
diff --git a/externals/grill/flext/source/flbuf.cpp b/externals/grill/flext/source/flbuf.cpp
index 89258b11..1e7b6ccf 100644
--- a/externals/grill/flext/source/flbuf.cpp
+++ b/externals/grill/flext/source/flbuf.cpp
@@ -85,6 +85,7 @@ int flext::buffer::Set(const t_symbol *s,bool nameonly)
if(valid) ret = -1;
}
else {
+ ret = 0;
garray_usedindsp(arr);
if(frames != frames1) { frames = frames1; if(!ret) ret = 1; }
if(data != data1) { data = data1; if(!ret) ret = 1; }
diff --git a/externals/grill/flext/source/fldefs_setup.h b/externals/grill/flext/source/fldefs_setup.h
index b1a1f00d..e00cc943 100644
--- a/externals/grill/flext/source/fldefs_setup.h
+++ b/externals/grill/flext/source/fldefs_setup.h
@@ -19,8 +19,14 @@ WARRANTIES, see the file, "license.txt," in this distribution.
// ====================================================================================
/*! \defgroup FLEXT_D_INSTANCE Class instantiation
- \note The name of your class is of importance! It must be the same as the external
- \note (excluded an eventual ~ (tilde))
+ \note For stand-alone externals (not part of a library) the name of your class
+ \note is of importance! It must be the same as the external (excluded an eventual ~ (tilde))
+
+ There are additional parameters that can be included in the NAME field of FLEXT_NEW etc.:
+
+ - There may be additional names (aliases) appened, separated by spaces
+ - There may be a help path prepended, separated by a colon
+ - This help path doesn't work for Max/MSP. There you'll have to use a object mapping file (Max/MSP version >= 4.2)
*/
diff --git a/externals/grill/flext/source/flsupport.h b/externals/grill/flext/source/flsupport.h
index fef7e16a..8c04c3ce 100644
--- a/externals/grill/flext/source/flsupport.h
+++ b/externals/grill/flext/source/flsupport.h
@@ -122,6 +122,7 @@ public:
/*! \brief Set to specified buffer.
\param nameonly: if true sets name only, but doesn't look at buffer actually
+ \return -1 on failure, 0 on success, 1 if parameters (length, data ptr, channels) have changed
*/
int Set(const t_symbol *s = NULL,bool nameonly = false);