summaryrefslogtreecommitdiff
path: root/sndobj/sndobj.i
diff options
context:
space:
mode:
authorJohn Glover <glover.john@gmail.com>2011-06-24 18:17:23 +0100
committerJohn Glover <glover.john@gmail.com>2011-06-24 18:17:23 +0100
commit416bd737074a287ea47106c73ea6bcfde40a75a8 (patch)
tree74562303d4f4f2f2e010f7e13cba41dc4852b50c /sndobj/sndobj.i
parentd26519464dcbf8c3682348167c29454961facefe (diff)
downloadsimpl-416bd737074a287ea47106c73ea6bcfde40a75a8.tar.gz
simpl-416bd737074a287ea47106c73ea6bcfde40a75a8.tar.bz2
simpl-416bd737074a287ea47106c73ea6bcfde40a75a8.zip
Change to using distutils.
Currently only builds the simplsndobj module
Diffstat (limited to 'sndobj/sndobj.i')
-rw-r--r--sndobj/sndobj.i58
1 files changed, 0 insertions, 58 deletions
diff --git a/sndobj/sndobj.i b/sndobj/sndobj.i
deleted file mode 100644
index ef2242a..0000000
--- a/sndobj/sndobj.i
+++ /dev/null
@@ -1,58 +0,0 @@
-%module(directors="1") simplsndobj
-%{
- #include "SndObj.h"
- #include "SndIO.h"
- #include "Table.h"
- #include "FFT.h"
- #include "IFFT.h"
- #include "PVA.h"
- #include "PVS.h"
- #include "IFGram.h"
- #include "SinAnal.h"
- #include "SinSyn.h"
- #include "AdSyn.h"
- #include "ReSyn.h"
- #include "HarmTable.h"
- #include "HammingTable.h"
- #define SWIG_FILE_WITH_INIT
-%}
-
-%feature("director") SndObj;
-%feature("director") SinAnal;
-
-%include "../common/numpy.i"
-
-%init
-%{
- import_array();
-%}
-
-%ignore SndObj::SndObj(SndObj &);
-%ignore SndObj::operator=(SndObj);
-
-%apply(double* IN_ARRAY1, int DIM1) {(double* in_vector, int size)};
-%apply(double* INPLACE_ARRAY1, int DIM1) {(double* out_vector, int size)};
-%include "SndObj.h"
-%clear(double* in_vector, int size);
-%clear(double* out_vector, int size);
-
-%include "SndIO.h"
-%include "Table.h"
-%include "FFT.h"
-%include "IFFT.h"
-%include "PVA.h"
-%include "PVS.h"
-%include "IFGram.h"
-
-%apply (int DIM1, double* IN_ARRAY1)
-{
- (int numamps, double* amps),
- (int numfreqs, double* freqs),
- (int numphases, double* phases)
-}
-%include "SinAnal.h"
-%include "SinSyn.h"
-%include "ReSyn.h"
-%include "AdSyn.h"
-%include "HarmTable.h"
-%include "HammingTable.h"