diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2002-12-05 05:36:32 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2002-12-05 05:36:32 +0000 |
commit | 60ee6bb60b11bbfbccf56f335c9c6213e6daa79d (patch) | |
tree | 99b0c72c60aeba5d1a0489aae9edd16f371d965c /externals/grill/vasp/source/obj_vecs.cpp | |
parent | bbd9d289d152f6ef085dec680f0b1611c29f0e32 (diff) |
""
svn path=/trunk/; revision=278
Diffstat (limited to 'externals/grill/vasp/source/obj_vecs.cpp')
-rw-r--r-- | externals/grill/vasp/source/obj_vecs.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/externals/grill/vasp/source/obj_vecs.cpp b/externals/grill/vasp/source/obj_vecs.cpp index fd24d273..3c0db9f5 100644 --- a/externals/grill/vasp/source/obj_vecs.cpp +++ b/externals/grill/vasp/source/obj_vecs.cpp @@ -8,6 +8,7 @@ WARRANTIES, see the file, "license.txt," in this distribution. */ +#include "main.h" #include "classes.h" #include "util.h" @@ -42,9 +43,9 @@ public: AddInAnything(2); AddOutAnything(); - SetupInOut(); FLEXT_ADDMETHOD(1,m_ix); + FLEXT_ADDATTR_VAR("index",ix,m_ix); } V m_ix(I i) { ix = i; } @@ -58,6 +59,8 @@ protected: private: FLEXT_CALLBACK_I(m_ix); + FLEXT_CALLSET_I(m_ix); + FLEXT_ATTRGET_I(ix); }; FLEXT_LIB_V("vasp, vasp.vector vasp.n",vasp_vector) @@ -88,7 +91,6 @@ public: AddInAnything(); // AddOutAnything(); AddOutInt(); - SetupInOut(); } virtual V m_bang() |