- Timestamp:
- Sep 23, 2016, 7:54:04 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:
- b6230d8
- Parents:
- bd8a92d
- Location:
- python
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
python/ext/aubio-types.h
rbd8a92d rd8faaf2 52 52 #endif 53 53 54 externPyTypeObject Py_cvecType;54 PyTypeObject Py_cvecType; 55 55 56 56 PyObject * new_py_fvec(uint_t length); … … 59 59 60 60 // defined in aubio-proxy.c 61 externint PyAubio_IsValidVector (PyObject *input);61 int PyAubio_IsValidVector (PyObject *input); 62 62 63 externPyObject *PyAubio_CFvecToArray (fvec_t * self);64 externint PyAubio_ArrayToCFvec (PyObject * self, fvec_t *out);63 PyObject *PyAubio_CFvecToArray (fvec_t * self); 64 int PyAubio_ArrayToCFvec (PyObject * self, fvec_t *out); 65 65 66 externint PyAubio_PyCvecToCCvec (PyObject *input, cvec_t *i);66 int PyAubio_PyCvecToCCvec (PyObject *input, cvec_t *i); 67 67 68 externPyObject *PyAubio_CFmatToArray (fmat_t * self);69 externint PyAubio_ArrayToCFmat (PyObject *input, fmat_t *out);68 PyObject *PyAubio_CFmatToArray (fmat_t * self); 69 int PyAubio_ArrayToCFmat (PyObject *input, fmat_t *out); 70 70 71 71 // hand written wrappers 72 externPyTypeObject Py_filterType;72 PyTypeObject Py_filterType; 73 73 74 externPyTypeObject Py_filterbankType;74 PyTypeObject Py_filterbankType; 75 75 76 externPyTypeObject Py_fftType;76 PyTypeObject Py_fftType; 77 77 78 externPyTypeObject Py_pvocType;78 PyTypeObject Py_pvocType; 79 79 80 externPyTypeObject Py_sourceType;80 PyTypeObject Py_sourceType; 81 81 82 externPyTypeObject Py_sinkType;82 PyTypeObject Py_sinkType; -
python/ext/aubiomodule.c
rbd8a92d rd8faaf2 75 75 ">>> min_removal(a)"; 76 76 77 extern void add_generated_objects ( PyObject *m ); 78 extern void add_ufuncs ( PyObject *m ); 79 extern int generated_types_ready(void); 77 void add_ufuncs ( PyObject *m ); 78 int generated_types_ready(void); 80 79 81 80 static PyObject * -
python/lib/gen_external.py
rbd8a92d rd8faaf2 225 225 sources_list.append(output_file) 226 226 227 objlist = "".join([" externPyTypeObject Py_%sType;\n" % p for p in lib])227 objlist = "".join(["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.