aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flbuf.cpp
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2005-03-10 04:56:41 +0000
committerThomas Grill <xovo@users.sourceforge.net>2005-03-10 04:56:41 +0000
commit5e3101f8a1a5cf78f86635da6a78d8564aa85483 (patch)
tree763ad92aa6a6d86d3af474b2b478854876c1c70c /externals/grill/flext/source/flbuf.cpp
parente854889b99b9e515dc69d237b1031b5705e83b60 (diff)
new lock-free lifo and fifo
fixed buggy unbinding of receive symbols no more static assignment of symbols (problems with Metrowerks) fixed bugs in SIMD code for non-power-of-2 lengths Max: use high-priority click instead of qelem for message-posting added method for clicks into object box svn path=/trunk/; revision=2614
Diffstat (limited to 'externals/grill/flext/source/flbuf.cpp')
-rw-r--r--externals/grill/flext/source/flbuf.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/externals/grill/flext/source/flbuf.cpp b/externals/grill/flext/source/flbuf.cpp
index 1d2ff839..4aafacfe 100644
--- a/externals/grill/flext/source/flbuf.cpp
+++ b/externals/grill/flext/source/flbuf.cpp
@@ -28,8 +28,8 @@ WARRANTIES, see the file, "license.txt," in this distribution.
#endif
#if FLEXT_SYS == FLEXT_SYS_MAX
-static const t_symbol *sym_buffer = NULL;
-static const t_symbol *sym_size = NULL;
+// defined in flsupport.cpp
+extern const t_symbol *sym_buffer,*sym_size;
#endif
flext::buffer::buffer(const t_symbol *bn,bool delayed):
@@ -42,13 +42,6 @@ flext::buffer::buffer(const t_symbol *bn,bool delayed):
isdirty = false;
ticking = false;
tick = clock_new(this,(t_method)cb_tick);
-#elif FLEXT_SYS == FLEXT_SYS_MAX
- // for some strange reasons (maybe only on Mac)
- // static initializations are not processed
- if(!sym_buffer) {
- sym_buffer = flext::MakeSymbol("buffer~");
- sym_size = flext::MakeSymbol("size");
- }
#endif
if(bn) Set(bn,delayed);