aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flutil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/source/flutil.cpp')
-rw-r--r--externals/grill/flext/source/flutil.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/externals/grill/flext/source/flutil.cpp b/externals/grill/flext/source/flutil.cpp
index f1035359..09c75377 100644
--- a/externals/grill/flext/source/flutil.cpp
+++ b/externals/grill/flext/source/flutil.cpp
@@ -26,4 +26,16 @@ void flext::ZeroMem(void *dst,int bytes)
}
-
+bool flext::Forward(const t_symbol *recv,int argc,const t_atom *argv)
+{
+ t_class **cl = (t_class **)recv->s_thing;
+ if(!cl) return false;
+
+#if FLEXT_SYS == FLEXT_SYS_PD
+ pd_forwardmess(cl,argc,(t_atom *)argv);
+#else
+ #error Not implemented
+#endif
+
+ return true;
+}