aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flbuf.cpp
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2005-01-11 04:58:12 +0000
committerThomas Grill <xovo@users.sourceforge.net>2005-01-11 04:58:12 +0000
commitead9ba14ab569e5644e2deeffc436c31b53ea141 (patch)
treeb2d40480181a5eefeb85335f35ab085ef5452b47 /externals/grill/flext/source/flbuf.cpp
parent4651f8a117cd663ddd77355055b0580cce636da3 (diff)
build system: added profiler mode, more fixes
fixed buggy unbinding of receive symbols fixed shared library names better templates, some minor changes added method for clicks into object box svn path=/trunk/; revision=2488
Diffstat (limited to 'externals/grill/flext/source/flbuf.cpp')
-rw-r--r--externals/grill/flext/source/flbuf.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/externals/grill/flext/source/flbuf.cpp b/externals/grill/flext/source/flbuf.cpp
index e42015c6..1d2ff839 100644
--- a/externals/grill/flext/source/flbuf.cpp
+++ b/externals/grill/flext/source/flbuf.cpp
@@ -43,8 +43,12 @@ flext::buffer::buffer(const t_symbol *bn,bool delayed):
ticking = false;
tick = clock_new(this,(t_method)cb_tick);
#elif FLEXT_SYS == FLEXT_SYS_MAX
- if(!sym_buffer) sym_buffer = flext::MakeSymbol("buffer~");
- if(!sym_size) sym_size = flext::MakeSymbol("size");
+ // 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);