aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flsupport.h
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/source/flsupport.h')
-rw-r--r--externals/grill/flext/source/flsupport.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/externals/grill/flext/source/flsupport.h b/externals/grill/flext/source/flsupport.h
index 1963e56c..760083a8 100644
--- a/externals/grill/flext/source/flsupport.h
+++ b/externals/grill/flext/source/flsupport.h
@@ -505,9 +505,26 @@ public:
const t_symbol *hdr;
};
+
//! @} FLEXT_S_ATOM
+// --- messages -------------------------------------------------------
+
+ /*! \defgroup FLEXT_S_MSG Flext message handling
+ @{
+ */
+
+ //! Send a message to a symbol (bound to an object)
+ static bool Forward(const t_symbol *s,int argc,const t_atom *argv);
+
+ static bool Forward(const t_symbol *s,AtomList &args) { return Forward(s,args.Count(),args.Atoms()); }
+ static bool Forward(const char *s,AtomList &args) { return Forward(MakeSymbol(s),args.Count(),args.Atoms()); }
+
+//! @} FLEXT_S_MSG
+
+
+
// --- thread stuff -----------------------------------------------
#ifdef FLEXT_THREADS
@@ -804,7 +821,7 @@ public:
/*! \brief Launch a thread
\remark thr_params *p may be NULL if not needed
*/
- static bool LaunchThread(void (*meth)(thr_params *p),thr_params *p);
+ static bool LaunchThread(void (*meth)(thr_params *p),thr_params *p = NULL);
//! @} FLEXT_S_THREAD