Ignore:
Timestamp:
Apr 18, 2016, 10:48:53 PM (8 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:
2e4ae1d
Parents:
7c785e6 (diff), b8ed85e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge pull request #40 from nphilipp/develop--py3k-fixes

Miscellaneous fixes for Python, mostly version 3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/ext/aubiowraphell.h

    r7c785e6 r4041a6d  
    1414  self->o = new_aubio_## NAME ( PARAMS ); \
    1515  if (self->o == NULL) { \
    16     PyErr_SetString (PyExc_StandardError, "error creating object"); \
     16    PyErr_SetString (PyExc_RuntimeError, "error creating object"); \
    1717    return -1; \
    1818  } \
     
    2626{ \
    2727  del_aubio_ ## NAME (self->o); \
    28   self->ob_type->tp_free ((PyObject *) self); \
     28  Py_TYPE(self)->tp_free ((PyObject *) self); \
    2929}
    3030
Note: See TracChangeset for help on using the changeset viewer.