python/{ext/*.c,lib/gen_code.py}: complete PyTypeObject definitions
authorPaul Brossier <piem@piem.org>
Fri, 13 May 2016 11:46:53 +0000 (13:46 +0200)
committerPaul Brossier <piem@piem.org>
Fri, 13 May 2016 11:46:53 +0000 (13:46 +0200)
python/ext/py-cvec.c
python/ext/py-fft.c
python/ext/py-filter.c
python/ext/py-filterbank.c
python/ext/py-phasevoc.c
python/ext/py-sink.c
python/ext/py-source.c
python/lib/gen_code.py

index 0054dce..427cc46 100644 (file)
@@ -239,4 +239,13 @@ PyTypeObject Py_cvecType = {
   (initproc) Py_cvec_init,      /* tp_init           */
   0,                            /* tp_alloc          */
   Py_cvec_new,                  /* tp_new            */
+  0,
+  0,
+  0,
+  0,
+  0,
+  0,
+  0,
+  0,
+  0,
 };
index 0fce627..7485ea3 100644 (file)
@@ -187,4 +187,13 @@ PyTypeObject Py_fftType = {
   (initproc) Py_fft_init,
   0,
   Py_fft_new,
+  0,
+  0,
+  0,
+  0,
+  0,
+  0,
+  0,
+  0,
+  0,
 };
index 5d202d1..df78e47 100644 (file)
@@ -203,4 +203,13 @@ PyTypeObject Py_filterType = {
   (initproc) Py_filter_init,    /* tp_init           */
   0,                            /* tp_alloc          */
   Py_filter_new,                /* tp_new            */
+  0,
+  0,
+  0,
+  0,
+  0,
+  0,
+  0,
+  0,
+  0,
 };
index 0d93414..a8795b0 100644 (file)
@@ -246,4 +246,13 @@ PyTypeObject Py_filterbankType = {
   (initproc) Py_filterbank_init,
   0,
   Py_filterbank_new,
+  0,
+  0,
+  0,
+  0,
+  0,
+  0,
+  0,
+  0,
+  0,
 };
index a08bb5c..bcd3d8b 100644 (file)
@@ -201,4 +201,13 @@ PyTypeObject Py_pvocType = {
   (initproc) Py_pvoc_init,
   0,
   Py_pvoc_new,
+  0,
+  0,
+  0,
+  0,
+  0,
+  0,
+  0,
+  0,
+  0,
 };
index 71a0e22..9fada06 100644 (file)
@@ -250,4 +250,13 @@ PyTypeObject Py_sinkType = {
   (initproc) Py_sink_init,
   0,
   Py_sink_new,
+  0,
+  0,
+  0,
+  0,
+  0,
+  0,
+  0,
+  0,
+  0,
 };
index 2c96513..b946070 100644 (file)
@@ -320,4 +320,13 @@ PyTypeObject Py_sourceType = {
   (initproc) Py_source_init,
   0,
   Py_source_new,
+  0,
+  0,
+  0,
+  0,
+  0,
+  0,
+  0,
+  0,
+  0,
 };
index 32e9baa..eb94dab 100644 (file)
@@ -526,5 +526,14 @@ PyTypeObject Py_{shortname}Type = {{
   (initproc) Py_{shortname}_init,
   0,
   Py_{shortname}_new,
+  0,
+  0,
+  0,
+  0,
+  0,
+  0,
+  0,
+  0,
+  0,
 }};
 """.format(**self.__dict__)