diff options
Diffstat (limited to 'externals/grill/flext/source/flatom.cpp')
-rw-r--r-- | externals/grill/flext/source/flatom.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/externals/grill/flext/source/flatom.cpp b/externals/grill/flext/source/flatom.cpp index b7ba4524..0efb79f4 100644 --- a/externals/grill/flext/source/flatom.cpp +++ b/externals/grill/flext/source/flatom.cpp @@ -14,6 +14,13 @@ WARRANTIES, see the file, "license.txt," in this distribution. #include "flext.h" +t_atom *flext::CopyList(int argc,const t_atom *argv) +{ + int i; + t_atom *dst = new t_atom[argc]; + for(i = 0; i < argc; ++i) CopyAtom(dst+i,argv+i); + return dst; +} flext::AtomList::AtomList(int argc,const t_atom *argv): cnt(0),lst(NULL) |