diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2005-09-12 10:27:40 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2005-09-12 10:27:40 +0000 |
commit | b8827f17107c537f192c60eef0d7840ba1d2d3e8 (patch) | |
tree | c6bca0b6b8b354e633218ffbd75166ae53ffe18e /externals/grill/flext/source/flsupport.h | |
parent | 4aa3cf590de6c27f0e43be1bb29923097dbf0c96 (diff) |
changed initialization functions accordingly
minimal additions for buffers and exception handling
change click modifier to shift (seems to work)
small fixes for tutorial examples
added flfeatures.h for compile-time version-specific feature detection
added typed flext::NewAligned
fixed severe Altivec bug
adapted for pd-devel 0.39
- better handling of click callback
slimmed object data structures
update DSP methods for SndObj and STK classes
- more compatible handling of attributes in patcher (hiding is now an option - define FLEXT_ATTRHIDE)
better buffer checking
svn path=/trunk/; revision=3537
Diffstat (limited to 'externals/grill/flext/source/flsupport.h')
-rw-r--r-- | externals/grill/flext/source/flsupport.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/externals/grill/flext/source/flsupport.h b/externals/grill/flext/source/flsupport.h index b6bb4eaa..25622b07 100644 --- a/externals/grill/flext/source/flsupport.h +++ b/externals/grill/flext/source/flsupport.h @@ -200,7 +200,14 @@ public: /*! \brief Check if the buffer is valid for use \note This must be true to use any of the other functions except set */ - bool Ok() const { return sym && data; } + bool Ok() const + { + return sym +#if FLEXT_SYS == FLEXT_SYS_PD + && arr +#endif + && data; + } /*! \brief Check if buffer content is valid (not in state of content change) \note buffer must be Ok() |