Ignore:
Timestamp:
Apr 19, 2016, 2:16:39 AM (9 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
26eb6d0
Parents:
f50dea4
Message:

ext/: no more hell, use plain c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/ext/py-fft.c

    rf50dea4 r5652a8c  
    1 #include "aubiowraphell.h"
     1#include "aubio-types.h"
    22
    33static char Py_fft_doc[] = "fft object";
     
    1212} Py_fft;
    1313
    14 //AUBIO_NEW(fft)
    1514static PyObject *
    1615Py_fft_new (PyTypeObject * type, PyObject * args, PyObject * kwds)
     
    9089}
    9190
    92 AUBIO_MEMBERS_START(fft)
     91static PyMemberDef Py_fft_members[] = {
    9392  {"win_s", T_INT, offsetof (Py_fft, win_s), READONLY,
    9493    "size of the window"},
    95 AUBIO_MEMBERS_STOP(fft)
     94  {NULL}
     95};
    9696
    9797static PyObject *
     
    122122};
    123123
    124 AUBIO_TYPEOBJECT(fft, "aubio.fft")
     124PyTypeObject Py_fftType = {
     125  PyVarObject_HEAD_INIT (NULL, 0)
     126  "aubio.fft",
     127  sizeof (Py_fft),
     128  0,
     129  (destructor) Py_fft_del,
     130  0,
     131  0,
     132  0,
     133  0,
     134  0,
     135  0,
     136  0,
     137  0,
     138  0,
     139  (ternaryfunc)Py_fft_do,
     140  0,
     141  0,
     142  0,
     143  0,
     144  Py_TPFLAGS_DEFAULT,
     145  Py_fft_doc,
     146  0,
     147  0,
     148  0,
     149  0,
     150  0,
     151  0,
     152  Py_fft_methods,
     153  Py_fft_members,
     154  0,
     155  0,
     156  0,
     157  0,
     158  0,
     159  0,
     160  (initproc) Py_fft_init,
     161  0,
     162  Py_fft_new,
     163};
Note: See TracChangeset for help on using the changeset viewer.