From 9626bf38f809dcb2d978e4ac6a7069dc8a0851bc Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Wed, 11 Jun 2003 02:33:31 +0000 Subject: "" svn path=/trunk/; revision=695 --- externals/grill/flext/tutorial/bind1/main.cpp | 6 +++++ externals/grill/flext/tutorial/tutorial.dsw | 32 +++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) 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> -- cgit v1.2.1