aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2003-06-11 02:33:31 +0000
committerThomas Grill <xovo@users.sourceforge.net>2003-06-11 02:33:31 +0000
commit9626bf38f809dcb2d978e4ac6a7069dc8a0851bc (patch)
tree0716c662a49ac77aca458e89c05545ec979b75e6
parent5a51f044b954239fbaf9b89959853cacd05c42a8 (diff)
""
svn path=/trunk/; revision=695
-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>