aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/vasp/source/obj_offs.cpp
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2002-12-28 04:37:42 +0000
committerThomas Grill <xovo@users.sourceforge.net>2002-12-28 04:37:42 +0000
commit562dcc336797951b2a8707413aa44177484c9f2a (patch)
tree162adc736d99b6edf4c03e50061831006ac0f5c4 /externals/grill/vasp/source/obj_offs.cpp
parent7b0d76e0a6c7b58f6a7a373755c46bde52ebea79 (diff)
""
svn path=/trunk/; revision=309
Diffstat (limited to 'externals/grill/vasp/source/obj_offs.cpp')
-rw-r--r--externals/grill/vasp/source/obj_offs.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/externals/grill/vasp/source/obj_offs.cpp b/externals/grill/vasp/source/obj_offs.cpp
index 07bf1982..6ecfeefd 100644
--- a/externals/grill/vasp/source/obj_offs.cpp
+++ b/externals/grill/vasp/source/obj_offs.cpp
@@ -30,7 +30,7 @@ WARRANTIES, see the file, "license.txt," in this distribution.
class vasp_offset:
public vasp_tx
{
- FLEXT_HEADER(vasp_offset,vasp_tx)
+ FLEXT_HEADER_S(vasp_offset,vasp_tx,Setup)
public:
vasp_offset(I argc,t_atom *argv):
@@ -44,9 +44,12 @@ public:
AddInAnything();
AddInFloat();
AddOutAnything();
+ }
- FLEXT_ADDMETHOD(1,m_offs);
- FLEXT_ADDATTR_VAR("frames",offs,m_offs);
+ static V Setup(t_class *c)
+ {
+ FLEXT_CADDMETHOD(c,1,m_offs);
+ FLEXT_CADDATTR_VAR(c,"frames",offs,m_offs);
}
V m_offs(F o)