aboutsummaryrefslogtreecommitdiff
path: root/externals
diff options
context:
space:
mode:
Diffstat (limited to 'externals')
-rwxr-xr-xexternals/grill/flext/tutorial/bind1/main.cpp6
-rw-r--r--externals/grill/flext/tutorial/tutorial.dsw32
2 files changed, 38 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;
diff --git a/externals/grill/flext/tutorial/tutorial.dsw b/externals/grill/flext/tutorial/tutorial.dsw
index 28586ab7..f3718c4d 100644
--- a/externals/grill/flext/tutorial/tutorial.dsw
+++ b/externals/grill/flext/tutorial/tutorial.dsw
@@ -99,6 +99,38 @@ Package=<4>
###############################################################################
+Project: "bind1"=.\bind1\bind1.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+ begin source code control
+ max/flext/tutorial/bind1
+ .\bind1
+ end source code control
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "buffer1"=.\buffer1\buffer1.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+ begin source code control
+ max/flext/tutorial/buffer1
+ .\buffer1
+ end source code control
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
Project: "flext"=..\flext.dsp - Package Owner=<4>
Package=<5>