aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flbuf.cpp
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2003-01-15 04:37:19 +0000
committerThomas Grill <xovo@users.sourceforge.net>2003-01-15 04:37:19 +0000
commitb00be027fe91e9ae5a19f53b6c1fd0245b4d4bae (patch)
tree2dd7ab22251e324b6d0f9167d3d32ed6e911a343 /externals/grill/flext/source/flbuf.cpp
parente62722bf0bba2ddb1b8558fa4c851c9e79dddf6c (diff)
""
svn path=/trunk/; revision=339
Diffstat (limited to 'externals/grill/flext/source/flbuf.cpp')
-rw-r--r--externals/grill/flext/source/flbuf.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/externals/grill/flext/source/flbuf.cpp b/externals/grill/flext/source/flbuf.cpp
index 7a2a21b6..4b4da40a 100644
--- a/externals/grill/flext/source/flbuf.cpp
+++ b/externals/grill/flext/source/flbuf.cpp
@@ -14,6 +14,8 @@ WARRANTIES, see the file, "license.txt," in this distribution.
#include "flext.h"
+#if FLEXT_SYS != FLEXT_SYS_JMAX
+
#if FLEXT_SYS == FLEXT_SYS_MAX
#include "flmspbuffer.h" // include inofficial buffer.h
#endif
@@ -58,7 +60,7 @@ int flext::buffer::Set(const t_symbol *s,bool nameonly)
chns = 0;
}
- if(s && *s->s_name) sym = s;
+ if(s && *GetString(s)) sym = s;
if(!sym) {
if(valid) ret = -1;
@@ -110,7 +112,7 @@ int flext::buffer::Set(const t_symbol *s,bool nameonly)
if(valid) ret = -1;
}
#else
-#error
+#error not implemented
#endif
}
@@ -152,7 +154,7 @@ bool flext::buffer::Update()
return false;
}
#else
-#error
+#error not implemented
#endif
}
@@ -263,3 +265,5 @@ void flext::buffer::cb_tick(buffer *b)
}
#endif
+
+#endif // Jmax