Mercurial > hg > vampy
diff PyRealTime.h @ 79:f5c028376bf9
Some old changes that, I think, probably did not help anything
author | Chris Cannam |
---|---|
date | Wed, 12 Aug 2015 15:25:04 +0100 |
parents | 27bab3a16c9a |
children |
line wrap: on
line diff
--- a/PyRealTime.h Tue Apr 14 11:14:39 2015 +0100 +++ b/PyRealTime.h Wed Aug 12 15:25:04 2015 +0100 @@ -19,7 +19,7 @@ Vamp::RealTime *rt; } RealTimeObject; -PyAPI_DATA(PyTypeObject) RealTime_Type; +extern PyTypeObject RealTime_Type; #define PyRealTime_CheckExact(v) ((v)->ob_type == &RealTime_Type) #define PyRealTime_Check(v) PyObject_TypeCheck(v, &RealTime_Type) @@ -29,10 +29,10 @@ /* PyRealTime C++ API */ -PyAPI_FUNC(PyObject *) +extern PyObject * PyRealTime_FromRealTime(Vamp::RealTime&); -PyAPI_FUNC(const Vamp::RealTime*) +extern const Vamp::RealTime* PyRealTime_AsRealTime (PyObject *self);