From d1ed55f96f9cecc818844006fb36cd58ca70da5e Mon Sep 17 00:00:00 2001 From: Tim Blechmann Date: Thu, 16 Jun 2005 13:02:02 +0000 Subject: - parameter searching (broken) - misc. updates svn path=/trunk/externals/tb/; revision=3192 --- chaos/src/chaos_defs.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'chaos/src/chaos_defs.hpp') diff --git a/chaos/src/chaos_defs.hpp b/chaos/src/chaos_defs.hpp index d9f60d8..bf8607c 100644 --- a/chaos/src/chaos_defs.hpp +++ b/chaos/src/chaos_defs.hpp @@ -97,7 +97,8 @@ data_t m_##NAME; #define CHAOS_SYS_CALLBACKS(NAME) \ -public:void get_##NAME(t_float &f) \ +public: \ +void get_##NAME(t_float &f) \ { \ f = m_system->get_##NAME(); \ } \ @@ -135,6 +136,9 @@ flext::SetSymbol(atom_##NAME, flext::MakeSymbol(#NAME)); \ System.Append(atom_##NAME); \ attr_ind[flext::MakeSymbol(#NAME)] = INDEX; +#define CHAOS_SYS_INIT_HIDDEN(NAME, VALUE, INDEX) \ +set_##NAME(VALUE); + #define CHAOS_PAR_INIT(NAME, VALUE) \ set_##NAME(VALUE); \ t_atom atom_##NAME; \ -- cgit v1.2.1