aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext')
-rw-r--r--externals/grill/flext/flext.cwbin789029 -> 789029 bytes
-rw-r--r--externals/grill/flext/source/flatom_pr.cpp4
-rw-r--r--externals/grill/flext/source/flbase.cpp2
-rw-r--r--externals/grill/flext/source/flsupport.cpp2
4 files changed, 5 insertions, 3 deletions
diff --git a/externals/grill/flext/flext.cw b/externals/grill/flext/flext.cw
index 25f4a3fd..5d64cb85 100644
--- a/externals/grill/flext/flext.cw
+++ b/externals/grill/flext/flext.cw
Binary files differ
diff --git a/externals/grill/flext/source/flatom_pr.cpp b/externals/grill/flext/source/flatom_pr.cpp
index e90892e8..20ae6cad 100644
--- a/externals/grill/flext/source/flatom_pr.cpp
+++ b/externals/grill/flext/source/flatom_pr.cpp
@@ -33,13 +33,15 @@ bool flext::PrintAtom(const t_atom &a,char *buf,int bufsz)
}
else if(IsPointer(a)) {
STD::sprintf(buf,"%p",GetPointer(a));
- }
+ }
+#if FLEXT_SYS == FLEXT_SYS_PD
else if(a.a_type == A_DOLLAR) {
STD::sprintf(buf,"$%d",a.a_w.w_index);
}
else if(a.a_type == A_DOLLSYM) {
STD::sprintf(buf,"$%s",GetString(a));
}
+#endif
else {
ERRINTERNAL();
ok = false;
diff --git a/externals/grill/flext/source/flbase.cpp b/externals/grill/flext/source/flbase.cpp
index bbd4cc1c..0619b796 100644
--- a/externals/grill/flext/source/flbase.cpp
+++ b/externals/grill/flext/source/flbase.cpp
@@ -97,9 +97,9 @@ void flext_obj::DefineHelp(t_classid c,const char *ref,const char *dir,bool addt
const t_symbol *flext_obj::GetParamSym(const t_symbol *sym,t_canvas *c)
{
+#if FLEXT_SYS == FLEXT_SYS_PD
if(!c) c = canvas_getcurrent();
-#if FLEXT_SYS == FLEXT_SYS_PD
const char *s = GetString(sym);
if((s[0] == '$' || s[0] == '#') && isdigit(s[1])) {
// patcher parameter detected... get value!
diff --git a/externals/grill/flext/source/flsupport.cpp b/externals/grill/flext/source/flsupport.cpp
index eca73d90..ab0d871e 100644
--- a/externals/grill/flext/source/flsupport.cpp
+++ b/externals/grill/flext/source/flsupport.cpp
@@ -214,7 +214,7 @@ void flext::error(const char *fmt,...)
va_start(ap, fmt);
#if FLEXT_SYS == FLEXT_SYS_MAX
char buf[1024]; // \TODO this is quite unsafe.....
- sprintf(buf,"error: ");
+ STD::sprintf(buf,"error: ");
vsprintf(buf+7, fmt, ap);
::post(buf);
#else