Update of /cvsroot/pure-data/externals/grill/vasp/source In directory sc8-pr-cvs1:/tmp/cvs-serv24977/source
Modified Files: arg.h buflib.cpp env.h main.cpp vasp.h vecblk.h Log Message: ""
Index: arg.h =================================================================== RCS file: /cvsroot/pure-data/externals/grill/vasp/source/arg.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** arg.h 5 Dec 2002 05:34:19 -0000 1.2 --- arg.h 10 Nov 2003 03:37:03 -0000 1.3 *************** *** 20,24 **** #define VASP_ARG_CX(RV,IV) Argument().SetCX(RV,IV)
! class Argument { public: --- 20,25 ---- #define VASP_ARG_CX(RV,IV) Argument().SetCX(RV,IV)
! class Argument: ! public flext { public:
Index: buflib.cpp =================================================================== RCS file: /cvsroot/pure-data/externals/grill/vasp/source/buflib.cpp,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** buflib.cpp 30 Mar 2003 02:47:40 -0000 1.9 --- buflib.cpp 10 Nov 2003 03:37:03 -0000 1.10 *************** *** 27,31 ****
! class FreeEntry { public: --- 27,32 ----
! class FreeEntry: ! public flext { public: *************** *** 36,40 **** };
! class BufEntry { public: --- 37,42 ---- };
! class BufEntry: ! public flext { public: *************** *** 69,75 **** BufEntry::BufEntry(const t_symbol *s,I fr,BL zero): sym(s), ! alloc(fr),len(fr),data(new S[fr]), refcnt(0),nxt(NULL) { if(zero) flext::ZeroMem(data,len*sizeof(*data)); } --- 71,78 ---- BufEntry::BufEntry(const t_symbol *s,I fr,BL zero): sym(s), ! alloc(fr),len(fr), refcnt(0),nxt(NULL) { + data = (S *)NewAligned(fr*sizeof(S)); if(zero) flext::ZeroMem(data,len*sizeof(*data)); } *************** *** 78,82 **** { if(sym) FreeLibSym(sym); ! if(data) delete[] data; }
--- 81,85 ---- { if(sym) FreeLibSym(sym); ! if(data) FreeAligned(data); }
Index: env.h =================================================================== RCS file: /cvsroot/pure-data/externals/grill/vasp/source/env.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** env.h 5 Dec 2002 05:34:19 -0000 1.2 --- env.h 10 Nov 2003 03:37:03 -0000 1.3 *************** *** 14,18 **** #include "vasp.h"
! class Env { public: --- 14,19 ---- #include "vasp.h"
! class Env: ! public flext { public:
Index: main.cpp =================================================================== RCS file: /cvsroot/pure-data/externals/grill/vasp/source/main.cpp,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** main.cpp 9 Apr 2003 02:36:31 -0000 1.18 --- main.cpp 10 Nov 2003 03:37:03 -0000 1.19 *************** *** 13,17 ****
! const C *VASP_VERSION = "0.1.3pre10";
#include "opfuns.h" --- 13,17 ----
! const C *VASP_VERSION = "0.1.3pre11";
#include "opfuns.h"
Index: vasp.h =================================================================== RCS file: /cvsroot/pure-data/externals/grill/vasp/source/vasp.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** vasp.h 19 Mar 2003 04:36:15 -0000 1.4 --- vasp.h 10 Nov 2003 03:37:03 -0000 1.5 *************** *** 14,21 **** #include "vbuffer.h"
! class Vasp { public: ! class Ref { public: Ref(): sym(NULL) {} --- 14,24 ---- #include "vbuffer.h"
! class Vasp: ! public flext { public: ! class Ref: ! public flext ! { public: Ref(): sym(NULL) {}
Index: vecblk.h =================================================================== RCS file: /cvsroot/pure-data/externals/grill/vasp/source/vecblk.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** vecblk.h 2 Dec 2002 19:20:56 -0000 1.1 --- vecblk.h 10 Nov 2003 03:37:03 -0000 1.2 *************** *** 14,18 **** #include "vasp.h"
! class VecBlock { public: --- 14,19 ---- #include "vasp.h"
! class VecBlock: ! public flext { public: