Changeset b6230d8


Ignore:
Timestamp:
Sep 23, 2016, 8:01:34 AM (7 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:
333a5bb
Parents:
d8faaf2
Message:

python/ext/aubiomodule.c: undo last commit

Location:
python
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • python/ext/aubio-types.h

    rd8faaf2 rb6230d8  
    5252#endif
    5353
    54 PyTypeObject Py_cvecType;
     54extern PyTypeObject Py_cvecType;
    5555
    5656PyObject * new_py_fvec(uint_t length);
     
    5959
    6060// defined in aubio-proxy.c
    61 int PyAubio_IsValidVector (PyObject *input);
     61extern int PyAubio_IsValidVector (PyObject *input);
    6262
    63 PyObject *PyAubio_CFvecToArray (fvec_t * self);
    64 int PyAubio_ArrayToCFvec (PyObject * self, fvec_t *out);
     63extern PyObject *PyAubio_CFvecToArray (fvec_t * self);
     64extern int PyAubio_ArrayToCFvec (PyObject * self, fvec_t *out);
    6565
    66 int PyAubio_PyCvecToCCvec (PyObject *input, cvec_t *i);
     66extern int PyAubio_PyCvecToCCvec (PyObject *input, cvec_t *i);
    6767
    68 PyObject *PyAubio_CFmatToArray (fmat_t * self);
    69 int PyAubio_ArrayToCFmat (PyObject *input, fmat_t *out);
     68extern PyObject *PyAubio_CFmatToArray (fmat_t * self);
     69extern int PyAubio_ArrayToCFmat (PyObject *input, fmat_t *out);
    7070
    7171// hand written wrappers
    72 PyTypeObject Py_filterType;
     72extern PyTypeObject Py_filterType;
    7373
    74 PyTypeObject Py_filterbankType;
     74extern PyTypeObject Py_filterbankType;
    7575
    76 PyTypeObject Py_fftType;
     76extern PyTypeObject Py_fftType;
    7777
    78 PyTypeObject Py_pvocType;
     78extern PyTypeObject Py_pvocType;
    7979
    80 PyTypeObject Py_sourceType;
     80extern PyTypeObject Py_sourceType;
    8181
    82 PyTypeObject Py_sinkType;
     82extern PyTypeObject Py_sinkType;
  • python/ext/aubiomodule.c

    rd8faaf2 rb6230d8  
    7575">>> min_removal(a)";
    7676
    77 void add_ufuncs ( PyObject *m );
    78 int generated_types_ready(void);
     77extern void add_generated_objects ( PyObject *m );
     78extern void add_ufuncs ( PyObject *m );
     79extern int generated_types_ready(void);
    7980
    8081static PyObject *
  • python/lib/gen_external.py

    rd8faaf2 rb6230d8  
    225225        sources_list.append(output_file)
    226226
    227     objlist = "".join(["PyTypeObject Py_%sType;\n" % p for p in lib])
     227    objlist = "".join(["extern PyTypeObject Py_%sType;\n" % p for p in lib])
    228228    out = """// generated list of objects created with gen_external.py
    229229
Note: See TracChangeset for help on using the changeset viewer.