aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/tutorial/bind1
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/tutorial/bind1')
-rwxr-xr-xexternals/grill/flext/tutorial/bind1/main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/externals/grill/flext/tutorial/bind1/main.cpp b/externals/grill/flext/tutorial/bind1/main.cpp
index 35459fc4..2532556a 100755
--- a/externals/grill/flext/tutorial/bind1/main.cpp
+++ b/externals/grill/flext/tutorial/bind1/main.cpp
@@ -33,6 +33,12 @@ public:
// constructor with no arguments
bind1();
+ /*
+ no constructor necessary here:
+ flext frees all eventually still bound symbols when the object is destroyed
+ (but NOT the data that can be passed via the FLEXT_BINDMETHOD call!)
+ */
+
protected:
const t_symbol *bufname;
buffer *buf;