- Timestamp:
- Sep 23, 2016, 8:01:34 AM (8 years ago)
- 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
- Location:
- python
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
python/ext/aubio-types.h
rd8faaf2 rb6230d8 52 52 #endif 53 53 54 PyTypeObject Py_cvecType;54 extern PyTypeObject Py_cvecType; 55 55 56 56 PyObject * new_py_fvec(uint_t length); … … 59 59 60 60 // defined in aubio-proxy.c 61 int PyAubio_IsValidVector (PyObject *input);61 extern int PyAubio_IsValidVector (PyObject *input); 62 62 63 PyObject *PyAubio_CFvecToArray (fvec_t * self);64 int PyAubio_ArrayToCFvec (PyObject * self, fvec_t *out);63 extern PyObject *PyAubio_CFvecToArray (fvec_t * self); 64 extern int PyAubio_ArrayToCFvec (PyObject * self, fvec_t *out); 65 65 66 int PyAubio_PyCvecToCCvec (PyObject *input, cvec_t *i);66 extern int PyAubio_PyCvecToCCvec (PyObject *input, cvec_t *i); 67 67 68 PyObject *PyAubio_CFmatToArray (fmat_t * self);69 int PyAubio_ArrayToCFmat (PyObject *input, fmat_t *out);68 extern PyObject *PyAubio_CFmatToArray (fmat_t * self); 69 extern int PyAubio_ArrayToCFmat (PyObject *input, fmat_t *out); 70 70 71 71 // hand written wrappers 72 PyTypeObject Py_filterType;72 extern PyTypeObject Py_filterType; 73 73 74 PyTypeObject Py_filterbankType;74 extern PyTypeObject Py_filterbankType; 75 75 76 PyTypeObject Py_fftType;76 extern PyTypeObject Py_fftType; 77 77 78 PyTypeObject Py_pvocType;78 extern PyTypeObject Py_pvocType; 79 79 80 PyTypeObject Py_sourceType;80 extern PyTypeObject Py_sourceType; 81 81 82 PyTypeObject Py_sinkType;82 extern PyTypeObject Py_sinkType; -
python/ext/aubiomodule.c
rd8faaf2 rb6230d8 75 75 ">>> min_removal(a)"; 76 76 77 void add_ufuncs ( PyObject *m ); 78 int generated_types_ready(void); 77 extern void add_generated_objects ( PyObject *m ); 78 extern void add_ufuncs ( PyObject *m ); 79 extern int generated_types_ready(void); 79 80 80 81 static PyObject * -
python/lib/gen_external.py
rd8faaf2 rb6230d8 225 225 sources_list.append(output_file) 226 226 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]) 228 228 out = """// generated list of objects created with gen_external.py 229 229
Note: See TracChangeset
for help on using the changeset viewer.