Changeset 770b9e7 for python/ext
- Timestamp:
- Nov 26, 2015, 2:48:03 PM (9 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:
- ac7e49b
- Parents:
- 8b8a020
- git-author:
- Nils Philippsen <nils@tiptoe.de> (11/26/15 00:38:48)
- git-committer:
- Nils Philippsen <nils@tiptoe.de> (11/26/15 14:48:03)
- Location:
- python/ext
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
python/ext/aubio-types.h
r8b8a020 r770b9e7 40 40 #endif 41 41 42 // compat with Python < 2.6 43 #ifndef Py_TYPE 44 #define Py_TYPE(ob) (((PyObject*)(ob))->ob_type) 45 #endif 46 42 47 // special python type for cvec 43 48 typedef struct -
python/ext/aubiowraphell.h
r8b8a020 r770b9e7 26 26 { \ 27 27 del_aubio_ ## NAME (self->o); \ 28 self->ob_type->tp_free ((PyObject *) self); \28 Py_TYPE(self)->tp_free ((PyObject *) self); \ 29 29 } 30 30 -
python/ext/py-cvec.c
r8b8a020 r770b9e7 60 60 { 61 61 del_cvec (self->o); 62 self->ob_type->tp_free ((PyObject *) self);62 Py_TYPE(self)->tp_free ((PyObject *) self); 63 63 } 64 64 -
python/ext/py-filter.c
r8b8a020 r770b9e7 56 56 { 57 57 del_aubio_filter (self->o); 58 self->ob_type->tp_free ((PyObject *) self);58 Py_TYPE(self)->tp_free ((PyObject *) self); 59 59 } 60 60
Note: See TracChangeset
for help on using the changeset viewer.