aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/tutorial/thread1/main.cpp
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2002-11-25 22:27:34 +0000
committerThomas Grill <xovo@users.sourceforge.net>2002-11-25 22:27:34 +0000
commita55a5773570e56a1fb59887f1215f3d05a055700 (patch)
tree507e32ac5b202cb99366bc416d74fff105aa6711 /externals/grill/flext/tutorial/thread1/main.cpp
parent286c5cf7f627308f56b94289a8a05ed653923c07 (diff)
""
svn path=/trunk/; revision=243
Diffstat (limited to 'externals/grill/flext/tutorial/thread1/main.cpp')
-rw-r--r--externals/grill/flext/tutorial/thread1/main.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/externals/grill/flext/tutorial/thread1/main.cpp b/externals/grill/flext/tutorial/thread1/main.cpp
index 878cef76..72fb1019 100644
--- a/externals/grill/flext/tutorial/thread1/main.cpp
+++ b/externals/grill/flext/tutorial/thread1/main.cpp
@@ -10,15 +10,18 @@ WARRANTIES, see the file, "license.txt," in this distribution.
This shows an example of a method running as a thread
*/
-// define FLEXT_THREADS for thread usage. Flext must also have been compiled with that defined!
+/* define FLEXT_THREADS for thread usage. Flext must also have been compiled with that defined!
+ it's even better to define that as a compiler flag (-D FLEXT_THREADS) for all files of the
+ flext external
+*/
#ifndef FLEXT_THREADS
#define FLEXT_THREADS
#endif
#include <flext.h>
-#if !defined(FLEXT_VERSION) || (FLEXT_VERSION < 301)
-#error You need at least flext version 0.3.1
+#if !defined(FLEXT_VERSION) || (FLEXT_VERSION < 400)
+#error You need at least flext version 0.4.0
#endif
@@ -47,7 +50,6 @@ thread1::thread1()
{
AddInAnything();
AddOutInt();
- SetupInOut(); // set up inlets and outlets
FLEXT_ADDBANG(0,m_start); // register method
}