patch-src_pyvorbiscodec_h 627 B

12345678910111213141516171819
  1. $OpenBSD: patch-src_pyvorbiscodec_h,v 1.1.1.1 2011/05/31 09:19:45 dcoppa Exp $
  2. Fixes for python2.5 memory management
  3. (from Debian's patchset for python-pyvorbis)
  4. --- src/pyvorbiscodec.h.orig Mon Oct 7 01:04:59 2002
  5. +++ src/pyvorbiscodec.h Tue Jun 8 08:21:46 2010
  6. @@ -22,8 +22,8 @@ typedef struct {
  7. extern PyTypeObject py_dsp_type;
  8. extern PyTypeObject py_block_type;
  9. -PyObject *py_dsp_from_dsp(vorbis_dsp_state *vd, PyObject *parent);
  10. -PyObject *py_block_from_block(vorbis_block *vb, PyObject *parent);
  11. +PyObject *py_dsp_alloc(PyObject *parent);
  12. +void py_dsp_dealloc(PyObject *self);
  13. #endif /* __VORBISCODEC_H__ */