Ignore:
Timestamp:
Nov 26, 2015, 2:48:03 PM (5 years ago)
Author:
Nils Philippsen <nils@tiptoe.de>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, 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)
Message:

Python 3: use Py_TYPE() instead of ob_type member

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/ext/aubio-types.h

    r8b8a020 r770b9e7  
    4040#endif
    4141
     42// compat with Python < 2.6
     43#ifndef Py_TYPE
     44#define Py_TYPE(ob) (((PyObject*)(ob))->ob_type)
     45#endif
     46
    4247// special python type for cvec
    4348typedef struct
Note: See TracChangeset for help on using the changeset viewer.