Changeset 1458de5 for interfaces/python/aubiomodule.c
- Timestamp:
- Jul 11, 2012, 3:41:33 AM (12 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:
- 988f580
- Parents:
- c71e405
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
interfaces/python/aubiomodule.c
rc71e405 r1458de5 1 1 #include <Python.h> 2 2 #define PY_ARRAY_UNIQUE_SYMBOL PyArray_API 3 #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION 3 4 #include <numpy/arrayobject.h> 4 5 … … 132 133 } 133 134 135 m = Py_InitModule3 ("_aubio", aubio_methods, aubio_module_doc); 136 137 if (m == NULL) { 138 return; 139 } 140 134 141 err = _import_array (); 135 142 … … 137 144 fprintf (stderr, 138 145 "Unable to import Numpy C API from aubio module (error %d)\n", err); 139 }140 141 m = Py_InitModule3 ("_aubio", aubio_methods, aubio_module_doc);142 143 if (m == NULL) {144 return;145 146 } 146 147
Note: See TracChangeset
for help on using the changeset viewer.