aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flsupport.h
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/source/flsupport.h')
-rw-r--r--externals/grill/flext/source/flsupport.h9
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()