From 562dcc336797951b2a8707413aa44177484c9f2a Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Sat, 28 Dec 2002 04:37:42 +0000 Subject: "" svn path=/trunk/; revision=309 --- externals/grill/vasp/source/obj_imm.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'externals/grill/vasp/source/obj_imm.cpp') diff --git a/externals/grill/vasp/source/obj_imm.cpp b/externals/grill/vasp/source/obj_imm.cpp index 9ea9791a..4d4000d2 100644 --- a/externals/grill/vasp/source/obj_imm.cpp +++ b/externals/grill/vasp/source/obj_imm.cpp @@ -34,7 +34,7 @@ WARRANTIES, see the file, "license.txt," in this distribution. class vasp_imm: public vasp_op { - FLEXT_HEADER(vasp_imm,vasp_op) + FLEXT_HEADER_S(vasp_imm,vasp_op,Setup) public: vasp_imm(I argc,t_atom *argv): @@ -48,9 +48,12 @@ public: AddInAnything(); AddInInt(); AddOutAnything(); + } - FLEXT_ADDMETHOD(1,m_frames); - FLEXT_ADDATTR_VAR("frames",frms,m_frames); + static V Setup(t_class *c) + { + FLEXT_CADDMETHOD(c,1,m_frames); + FLEXT_CADDATTR_VAR(c,"frames",frms,m_frames); } V m_frames(I n) { frms = n; } -- cgit v1.2.1