From 5e3101f8a1a5cf78f86635da6a78d8564aa85483 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Thu, 10 Mar 2005 04:56:41 +0000 Subject: 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 --- externals/grill/flext/source/flbuf.cpp | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'externals/grill/flext/source/flbuf.cpp') 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); -- cgit v1.2.1