diff options
Diffstat (limited to 'externals/grill/flext/source/flclass.h')
-rw-r--r-- | externals/grill/flext/source/flclass.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/externals/grill/flext/source/flclass.h b/externals/grill/flext/source/flclass.h index 4cbeb03f..e1b46c52 100644 --- a/externals/grill/flext/source/flclass.h +++ b/externals/grill/flext/source/flclass.h @@ -220,6 +220,9 @@ public: //! Output integer (index n starts with 0) void ToOutInt(int n,int f) const; + //! Output boolean (index n starts with 0) + void ToOutBool(int n,bool f) const { ToOutInt(n,f?1:0); } + //! Output symbol (index n starts with 0) void ToOutSymbol(int n,const t_symbol *s) const; //! Output string aka symbol (index n starts with 0) @@ -250,6 +253,9 @@ public: //! Output integer (index n starts with 0) void ToQueueInt(int n,int f) const; + //! Output boolean (index n starts with 0) + void ToQueueBool(int n,bool f) const { ToQueueInt(n,f?1:0); } + //! Output symbol (index n starts with 0) void ToQueueSymbol(int n,const t_symbol *s) const; //! Output string aka symbol (to appointed outlet) @@ -275,6 +281,9 @@ public: //! Send integer to self (inlet n) void ToSelfInt(int n,int f) const; + //! Send boolean to self (inlet n) + void ToSelfBool(int n,bool f) const { ToSelfInt(n,f?1:0); } + //! Send symbol to self (inlet n) void ToSelfSymbol(int n,const t_symbol *s) const; //! Send string aka symbol to self (inlet 0) @@ -389,7 +398,7 @@ public: @{ */ -#if FLEXT_SYS == FLEXT_SYS_PD +#if FLEXT_SYS == FLEXT_SYS_PD || FLEXT_SYS == FLEXT_SYS_MAX //! Bind object to a symbol bool Bind(const t_symbol *sym); //! Unbind object from a symbol |