diff options
Diffstat (limited to 'externals/grill/vasp/source/obj_radio.cpp')
-rw-r--r-- | externals/grill/vasp/source/obj_radio.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/externals/grill/vasp/source/obj_radio.cpp b/externals/grill/vasp/source/obj_radio.cpp index d0c2452e..a3fde97c 100644 --- a/externals/grill/vasp/source/obj_radio.cpp +++ b/externals/grill/vasp/source/obj_radio.cpp @@ -27,7 +27,7 @@ WARRANTIES, see the file, "license.txt," in this distribution. class vasp_radio: public flext_base { - FLEXT_HEADER(vasp_radio,flext_base) + FLEXT_HEADER_S(vasp_radio,flext_base,Setup) public: @@ -35,8 +35,11 @@ public: { AddInAnything(); AddOutAnything(2); + } - FLEXT_ADDMETHOD(0,m_any); + static V Setup(t_class *c) + { + FLEXT_CADDMETHOD(c,0,m_any); } virtual V m_any(const t_symbol *s,I argc,t_atom *argv); |